pythonPackages.pid: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-27 09:19:31 -04:00
parent 50ec0b1724
commit 8a27bc48b2
2 changed files with 28 additions and 20 deletions

View File

@@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
pname = "pid";
version = "2.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "0cylj8p25nwkdfgy4pzai21wyzmrxdqlwwbzqag9gb5qcjfdwk05";
};
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;
};
}