2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pythonOlder,
|
|
|
|
zconfig,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zdaemon";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "5.1";
|
2022-12-17 10:02:37 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-Iun+UFDq67ngPZrWTk9jzNheBMOP2zUc8RO+9vaNt6Q=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ zconfig ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# too many deps..
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "zdaemon" ];
|
2022-12-17 10:02:37 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A daemon process control library and tools for Unix-based systems";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "zdaemon";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://pypi.python.org/pypi/zdaemon";
|
2022-12-17 10:02:37 +00:00
|
|
|
changelog = "https://github.com/zopefoundation/zdaemon/blob/${version}/CHANGES.rst";
|
2023-07-15 17:15:38 +00:00
|
|
|
license = licenses.zpl21;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ goibhniu ];
|
|
|
|
};
|
|
|
|
}
|