ca5ab3a501
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
37 lines
754 B
Nix
37 lines
754 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, dicttoxml
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, xmltodict
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyialarm";
|
|
version = "2.0.0";
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "RyuzakiKK";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-rJS6KgEy4iuiY6QRue6K6woyGefuTN7/4RLCu8cb8M4=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|