1{
2 lib,
3 aiohttp,
4 async-timeout,
5 buildPythonPackage,
6 fetchFromGitHub,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "mill-local";
12 version = "0.4.0";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.8";
16
17 src = fetchFromGitHub {
18 owner = "Danielhiversen";
19 repo = "pyMillLocal";
20 tag = version;
21 hash = "sha256-WPL9vPK625gs3IO2XMFRCD+J6dQSxmEqg6FsX+2RLNk=";
22 };
23
24 propagatedBuildInputs = [
25 aiohttp
26 async-timeout
27 ];
28
29 # Project has no tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "mill_local" ];
33
34 meta = with lib; {
35 description = "Python module to communicate locally with Mill heaters";
36 homepage = "https://github.com/Danielhiversen/pyMillLocal";
37 changelog = "https://github.com/Danielhiversen/pyMillLocal/releases/tag/${version}";
38 license = with licenses; [ mit ];
39 maintainers = with maintainers; [ fab ];
40 };
41}