1{ lib 2, buildPythonPackage 3, dicttoxml2 4, fetchFromGitHub 5, pythonOlder 6, xmltodict 7}: 8 9buildPythonPackage rec { 10 pname = "pyialarm"; 11 version = "2.2.0"; 12 disabled = pythonOlder "3.7"; 13 14 src = fetchFromGitHub { 15 owner = "RyuzakiKK"; 16 repo = pname; 17 rev = "v${version}"; 18 hash = "sha256-rOdeYewjoFVbHdNPHN6ZC2g6X5yr84/JFE6tGSDIoRU="; 19 }; 20 21 propagatedBuildInputs = [ 22 dicttoxml2 23 xmltodict 24 ]; 25 26 # Project has no tests 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "pyialarm" 31 ]; 32 33 meta = with lib; { 34 description = "Python library to interface with Antifurto365 iAlarm systems"; 35 homepage = "https://github.com/RyuzakiKK/pyialarm"; 36 license = with licenses; [ asl20 ]; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}