nixpkgs/pkgs/development/python-modules/pid/default.nix

28 lines
503 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
pname = "pid";
2018-11-04 10:35:09 +00:00
version = "2.2.0";
src = fetchPypi {
inherit pname version;
2018-11-04 10:35:09 +00:00
sha256 = "d8bb2ceec21a4ae84be6e9d320db1f56934b30e676e31c6f098ca7218b3d67d4";
};
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;
};
}