2018-10-27 14:19:31 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pid";
|
2019-10-16 10:43:11 +01:00
|
|
|
version = "2.2.5";
|
2018-10-27 14:19:31 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 10:43:11 +01:00
|
|
|
sha256 = "96eb7dba326b88f5164bc1afdc986c7793e0d32d7f62366256a3903c7b0614ef";
|
2018-10-27 14:19:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
# No tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Pidfile featuring stale detection and file-locking";
|
|
|
|
homepage = https://github.com/trbs/pid/;
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|