1{ lib
2, aiohttp
3, async-timeout
4, buildPythonPackage
5, cryptography
6, fetchFromGitHub
7, pythonOlder
8}:
9
10buildPythonPackage rec {
11 pname = "millheater";
12 version = "0.10.0";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.6";
16
17 src = fetchFromGitHub {
18 owner = "Danielhiversen";
19 repo = "pymill";
20 rev = version;
21 hash = "sha256-ImEg+VEiASQPnMeZzbYMMb+ZgcsxagQcN9IDFGO05Vw=";
22 };
23
24 propagatedBuildInputs = [
25 aiohttp
26 async-timeout
27 cryptography
28 ];
29
30 # Project has no tests
31 doCheck = false;
32
33 pythonImportsCheck = [
34 "mill"
35 ];
36
37 meta = with lib; {
38 description = "Python library for Mill heater devices";
39 homepage = "https://github.com/Danielhiversen/pymill";
40 license = with licenses; [ mit ];
41 maintainers = with maintainers; [ fab ];
42 };
43}