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