summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-daemon
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/python-daemon')
-rw-r--r--pkgs/development/python-modules/python-daemon/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-daemon/default.nix b/pkgs/development/python-modules/python-daemon/default.nix
new file mode 100644
index 000000000000..1327a7e398ab
--- /dev/null
+++ b/pkgs/development/python-modules/python-daemon/default.nix
@@ -0,0 +1,23 @@
+{ lib, buildPythonPackage, fetchPypi, mock, testscenarios, docutils, lockfile }:
+
+buildPythonPackage rec {
+ pname = "python-daemon";
+ version = "2.1.1";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "17v80qb98p1gv4j9mq6wb55cv7hc4j1hzw5y2f4s5hrpxs3w3a2q";
+ };
+
+ # A test fail within chroot builds.
+ doCheck = false;
+
+ buildInputs = [ mock testscenarios ];
+ propagatedBuildInputs = [ docutils lockfile ];
+
+ meta = with lib; {
+ description = "Library to implement a well-behaved Unix daemon process";
+ homepage = https://alioth.debian.org/projects/python-daemon/;
+ license = [ licenses.gpl3Plus licenses.asl20 ];
+ };
+}