2021-09-28 08:13:01 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, colorlog
|
2021-12-19 01:06:50 +00:00
|
|
|
, pyyaml
|
2021-09-28 08:13:01 +00:00
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lupupy";
|
2021-12-21 02:18:32 +00:00
|
|
|
version = "0.1.1";
|
2021-09-28 08:13:01 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-21 02:18:32 +00:00
|
|
|
sha256 = "sha256-bWBiM+u5wl9fWqL8k+R2IaYXSNnc4IxgWgUzyJVxkKk=";
|
2021-09-28 08:13:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
colorlog
|
2021-12-19 01:06:50 +00:00
|
|
|
pyyaml
|
2021-09-28 08:13:01 +00:00
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"lupupy"
|
|
|
|
];
|
2021-09-28 08:13:01 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python module to control Lupusec alarm control panels";
|
|
|
|
homepage = "https://github.com/majuss/lupupy";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|