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