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