Merge pull request #121837 from fabaff/pyialarm

python3Packages.pyialarm: init at 1.5
This commit is contained in:
Fabian Affolter 2021-05-09 00:23:11 +02:00 committed by GitHub
commit 44442c4ad1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -5649,6 +5649,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 { };