3e2acf8aff
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
37 lines
753 B
Nix
37 lines
753 B
Nix
{ 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 ];
|
|
};
|
|
}
|