2021-09-27 06:48:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, colorlog
|
2021-12-10 13:08:13 +00:00
|
|
|
, pyyaml
|
2021-09-27 06:48:51 +00:00
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lupupy";
|
2023-02-20 11:31:35 +00:00
|
|
|
version = "0.3.0";
|
2021-09-27 06:48:51 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-02-20 11:31:35 +00:00
|
|
|
hash = "sha256-g2EEyPhsQZ+VKP/kSjZdQ9ns0NlptH8l2h0vTTLpF54=";
|
2021-09-27 06:48:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
colorlog
|
2021-12-10 13:08:13 +00:00
|
|
|
pyyaml
|
2021-09-27 06:48:51 +00:00
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-12-10 13:08:13 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"lupupy"
|
|
|
|
];
|
2021-09-27 06:48:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python module to control Lupusec alarm control panels";
|
|
|
|
homepage = "https://github.com/majuss/lupupy";
|
2023-01-23 20:00:42 +00:00
|
|
|
changelog = "https://github.com/majuss/lupupy/releases/tag/v${version}";
|
2021-09-27 06:48:51 +00:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|