nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 743 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 dicttoxml2, 5 fetchFromGitHub, 6 xmltodict, 7}: 8 9buildPythonPackage rec { 10 pname = "pyialarm"; 11 version = "2.2.0"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "RyuzakiKK"; 16 repo = "pyialarm"; 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 = [ "pyialarm" ]; 30 31 meta = { 32 description = "Python library to interface with Antifurto365 iAlarm systems"; 33 homepage = "https://github.com/RyuzakiKK/pyialarm"; 34 license = with lib.licenses; [ asl20 ]; 35 maintainers = with lib.maintainers; [ fab ]; 36 }; 37}