about summary refs log tree commit diff
path: root/pkgs/development/python-modules/zdaemon/default.nix
blob: 794801284b346433444f256d7add65fa31a8a9c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pythonOlder,
  zconfig,
}:

buildPythonPackage rec {
  pname = "zdaemon";
  version = "5.1";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-Iun+UFDq67ngPZrWTk9jzNheBMOP2zUc8RO+9vaNt6Q=";
  };

  propagatedBuildInputs = [ zconfig ];

  # too many deps..
  doCheck = false;

  pythonImportsCheck = [ "zdaemon" ];

  meta = with lib; {
    description = "Daemon process control library and tools for Unix-based systems";
    mainProgram = "zdaemon";
    homepage = "https://pypi.python.org/pypi/zdaemon";
    changelog = "https://github.com/zopefoundation/zdaemon/blob/${version}/CHANGES.rst";
    license = licenses.zpl21;
    maintainers = [ ];
  };
}