~aasg/nixexprs

ref: 5550f58e685f24c47d231549a47eaaf808c682b7 nixexprs/pkgs/development/python-modules/daemonocle/default.nix -rw-r--r-- 970 bytes
5550f58e — Aluísio Augusto Silva Gonçalves Deprecate packages available in Nixpkgs 4 months ago
                                                                                
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
, click
, psutil
}:

buildPythonPackage rec {
  pname = "daemonocle";
  version = "1.2.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "3bd2f5d649a84aca6a04af6daec6e6dd3c82803f71519c35bf5fc68e58f5c40f";
  };

  propagatedBuildInputs = [ click psutil ];

  # Tests don't seem to work with sandboxing enabled.
  doCheck = false;

  meta = with lib; {
    description = "A Python library for creating super fancy Unix daemons";
    longDescription = ''
      daemonocle is a library for creating your own Unix-style daemons
      written in Python.  It solves many problems that other daemon
      libraries have and provides some really useful features you don't
      often see in other daemons.
    '';
    homepage = "https://github.com/jnrbsn/daemonocle";
    license = licenses.mit;
    platforms = platforms.unix;
    hydraPlatforms = platforms.none;
    maintainers = with maintainers; [ AluisioASG ];
  };
}