pythonPackages.pythondaemon: move expression

This commit is contained in:
Robert Schütz
2018-02-28 01:17:26 +01:00
parent 94baae5e6b
commit 3836f7939b
2 changed files with 24 additions and 21 deletions

View File

@@ -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 ];
};
}