2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-27 14:19:31 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pid";
|
2020-07-31 09:56:43 +01:00
|
|
|
version = "3.0.4";
|
2018-10-27 14:19:31 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-31 09:56:43 +01:00
|
|
|
sha256 = "0e33670e83f6a33ebb0822e43a609c3247178d4a375ff50a4689e266d853eb66";
|
2018-10-27 14:19:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
|
|
|
# No tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-27 14:19:31 +01:00
|
|
|
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 14:19:31 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|