2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-12-17 10:02:37 +00:00
|
|
|
, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
, zconfig
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zdaemon";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "5.0";
|
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;
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-ml7GxRmigLvPqPfnP04Q2AjnuCcQq2COD0Sb88BtQ9U=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
zconfig
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# too many deps..
|
|
|
|
doCheck = false;
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"zdaemon"
|
|
|
|
];
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|