2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
colorlog,
|
|
|
|
pyyaml,
|
|
|
|
fetchPypi,
|
|
|
|
pythonOlder,
|
|
|
|
requests,
|
|
|
|
setuptools,
|
2021-09-28 08:13:01 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lupupy";
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "0.3.2";
|
|
|
|
pyproject = true;
|
2021-09-28 08:13:01 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-01-25 14:12:00 +00:00
|
|
|
hash = "sha256-A92Jk6WlRKep3dkbqLiYYHklEh0pyncipRW6swq0mvo=";
|
2021-09-28 08:13:01 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ setuptools ];
|
2024-01-25 14:12:00 +00:00
|
|
|
|
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;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "lupupy" ];
|
2021-09-28 08:13:01 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python module to control Lupusec alarm control panels";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "lupupy";
|
2021-09-28 08:13:01 +00:00
|
|
|
homepage = "https://github.com/majuss/lupupy";
|
2023-02-02 18:25:31 +00:00
|
|
|
changelog = "https://github.com/majuss/lupupy/releases/tag/v${version}";
|
2021-09-28 08:13:01 +00:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|