Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 37 lines 753 B view raw
1{ lib 2, buildPythonPackage 3, dicttoxml 4, fetchFromGitHub 5, pythonOlder 6, xmltodict 7}: 8 9buildPythonPackage rec { 10 pname = "pyialarm"; 11 version = "1.5"; 12 disabled = pythonOlder "3.7"; 13 14 src = fetchFromGitHub { 15 owner = "RyuzakiKK"; 16 repo = pname; 17 rev = "v${version}"; 18 sha256 = "0vpscc2h13mmwscvjpm0bfd80x94mzh4d204v6n421mdz3ddhjqp"; 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}