3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.pyialarm: init at 1.5

This commit is contained in:
Fabian Affolter 2021-05-05 22:54:28 +02:00
parent 39e6bf7647
commit 7e7c78886e
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, dicttoxml
, fetchFromGitHub
, pythonOlder
, xmltodict
}:
buildPythonPackage rec {
pname = "pyialarm";
version = "1.5";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "RyuzakiKK";
repo = pname;
rev = "v${version}";
sha256 = "0vpscc2h13mmwscvjpm0bfd80x94mzh4d204v6n421mdz3ddhjqp";
};
propagatedBuildInputs = [
dicttoxml
xmltodict
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyialarm" ];
meta = with lib; {
description = "Python library to interface with Antifurto365 iAlarm systems";
homepage = "https://github.com/RyuzakiKK/pyialarm";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -5617,6 +5617,8 @@ in {
pyi2cflash = callPackage ../development/python-modules/pyi2cflash { };
pyialarm = callPackage ../development/python-modules/pyialarm { };
pyicloud = callPackage ../development/python-modules/pyicloud { };
PyICU = callPackage ../development/python-modules/pyicu { };