mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
Merge pull request #175816 from fabaff/pyialarmxr
This commit is contained in:
commit
a964f64068
40
pkgs/development/python-modules/pyialarmxr/default.nix
Normal file
40
pkgs/development/python-modules/pyialarmxr/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lxml
|
||||
, pythonOlder
|
||||
, xmltodict
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyialarmxr";
|
||||
version = "1.0.18";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bigmoby";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-Q1NsPLA1W4nxSG/9jlMf6BkC3ZrUrhl8oDX7U4aAjxM=";
|
||||
};
|
||||
propagatedBuildInputs = [
|
||||
lxml
|
||||
xmltodict
|
||||
];
|
||||
|
||||
# Module has no test
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyialarmxr"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to interface with Antifurto365 iAlarmXR systems";
|
||||
homepage = "https://github.com/bigmoby/pyialarmxr";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -7412,6 +7412,8 @@ in {
|
||||
|
||||
pyialarm = callPackage ../development/python-modules/pyialarm { };
|
||||
|
||||
pyialarmxr = callPackage ../development/python-modules/pyialarmxr { };
|
||||
|
||||
pyicloud = callPackage ../development/python-modules/pyicloud { };
|
||||
|
||||
PyICU = callPackage ../development/python-modules/pyicu { };
|
||||
|
Loading…
Reference in New Issue
Block a user