1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 nose,
6}:
7
8buildPythonPackage rec {
9 pname = "pid";
10 version = "3.0.4";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "0e33670e83f6a33ebb0822e43a609c3247178d4a375ff50a4689e266d853eb66";
16 };
17
18 buildInputs = [ nose ];
19
20 # No tests included
21 doCheck = false;
22
23 meta = with lib; {
24 description = "Pidfile featuring stale detection and file-locking";
25 homepage = "https://github.com/trbs/pid/";
26 license = licenses.asl20;
27 };
28}