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