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