3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.python-pidfile: init at 3.0.0 (#129272)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
legendofmiracles 2021-07-06 02:22:28 +02:00 committed by GitHub
parent 4627387694
commit 2aae258fd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, psutil
}:
buildPythonPackage rec {
pname = "python-pidfile";
version = "3.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-HhCX30G8dfV0WZ/++J6LIO/xvfyRkdPtJkzC2ulUKdA=";
};
propagatedBuildInputs = [
psutil
];
pythonImportsCheck = [ "pidfile" ];
# no tests on the github mirror of the source code
# see this: https://github.com/mosquito/python-pidfile/issues/7
doCheck = false;
meta = with lib; {
description = "Python context manager for managing pid files";
homepage = "https://github.com/mosquito/python-pidfile";
license = with licenses; [ mit ];
maintainers = with maintainers; [ legendofmiracles ];
};
}

View file

@ -7063,6 +7063,8 @@ in {
python-picnic-api = callPackage ../development/python-modules/python-picnic-api { };
python-pidfile = callPackage ../development/python-modules/python-pidfile { };
python-pipedrive = callPackage ../development/python-modules/python-pipedrive { };
python-pkcs11 = callPackage ../development/python-modules/python-pkcs11 { };