2018-02-28 00:17:26 +00:00
|
|
|
|
{ lib, buildPythonPackage, fetchPypi, mock, testscenarios, docutils, lockfile }:
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
|
pname = "python-daemon";
|
2019-11-11 11:13:40 +00:00
|
|
|
|
version = "2.2.4";
|
2018-02-28 00:17:26 +00:00
|
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
|
inherit pname version;
|
2019-11-11 11:13:40 +00:00
|
|
|
|
sha256 = "57c84f50a04d7825515e4dbf3a31c70cc44414394a71608dee6cfde469e81766";
|
2018-02-28 00:17:26 +00: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";
|
2019-05-25 16:11:31 +01:00
|
|
|
|
homepage = "https://pagure.io/python-daemon/";
|
2018-02-28 00:17:26 +00:00
|
|
|
|
license = [ licenses.gpl3Plus licenses.asl20 ];
|
|
|
|
|
};
|
|
|
|
|
}
|