at master 861 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 netifaces, 7}: 8 9buildPythonPackage { 10 pname = "pyeiscp"; 11 version = "0.0.7"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "winterscar"; 16 repo = "python-eiscp"; 17 rev = "5f9ab5428ffa27a813dbfb00d392a0f76055137a"; # this is 0.0.7; tags are weird and from the original project this was forked from 18 hash = "sha256-jmOPX0PnrKOs9kQZxlEpvp6Ck0kYXfWE6TgtKsOAHfs="; 19 }; 20 21 build-system = [ 22 setuptools 23 ]; 24 25 dependencies = [ 26 netifaces 27 ]; 28 29 doCheck = false; # no useful tests 30 31 pythonImportsCheck = [ 32 "pyeiscp" 33 ]; 34 35 meta = { 36 description = "Python asyncio module to interface with Anthem AVM and MRX receivers"; 37 homepage = "https://github.com/winterscar/python-eiscp"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ ]; 40 }; 41}