2018-02-28 01:17:26 +01:00
|
|
|
|
{ lib, buildPythonPackage, fetchPypi, mock, testscenarios, docutils, lockfile }:
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
|
pname = "python-daemon";
|
2018-08-25 07:49:30 +02:00
|
|
|
|
version = "2.2.0";
|
2018-02-28 01:17:26 +01:00
|
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
|
inherit pname version;
|
2018-08-25 07:49:30 +02:00
|
|
|
|
sha256 = "aca149ebf7e73f10cd554b2df5c95295d49add8666348eff6195053ec307728c";
|
2018-02-28 01:17:26 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
|
};
|
|
|
|
|
}
|