2018-10-27 13:19:31 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pid";
|
2020-04-10 19:46:49 +00:00
|
|
|
version = "3.0.3";
|
2018-10-27 13:19:31 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-04-10 19:46:49 +00:00
|
|
|
sha256 = "0z9w99m1vppppj2ypgm0flslgwcjjzlr7x3m62sccavgbg1n2nwj";
|
2018-10-27 13:19:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
# No tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Pidfile featuring stale detection and file-locking";
|
2020-03-23 12:48:17 +00:00
|
|
|
homepage = "https://github.com/trbs/pid/";
|
2018-10-27 13:19:31 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|