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

28 lines
503 B
Nix
Raw Normal View History

{ lib, stdenv
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
pname = "pid";
version = "3.0.4";
src = fetchPypi {
inherit pname version;
sha256 = "0e33670e83f6a33ebb0822e43a609c3247178d4a375ff50a4689e266d853eb66";
};
buildInputs = [ nose ];
# No tests included
doCheck = false;
meta = with lib; {
description = "Pidfile featuring stale detection and file-locking";
homepage = "https://github.com/trbs/pid/";
license = licenses.asl20;
};
}