1{ 2 lib, 3 buildPythonPackage, 4 isPy27, 5 fetchFromGitHub, 6}: 7 8buildPythonPackage rec { 9 pname = "pyaehw4a1"; 10 version = "0.3.9"; 11 format = "setuptools"; 12 13 disabled = isPy27; 14 15 src = fetchFromGitHub { 16 owner = "bannhead"; 17 repo = "pyaehw4a1"; 18 rev = "v${version}"; 19 sha256 = "0grs7kiyhzlwqzmw2yxkkglnwjfpimgwxbgp0047rlp3k8md7sjv"; 20 }; 21 22 # no tests implemented 23 doCheck = false; 24 25 pythonImportsCheck = [ "pyaehw4a1" ]; 26 27 meta = with lib; { 28 description = "Python interface for Hisense AEH-W4A1 module"; 29 homepage = "https://github.com/bannhead/pyaehw4a1"; 30 license = licenses.asl20; 31 maintainers = with maintainers; [ dotlambda ]; 32 }; 33}