forked from mirrors/nixpkgs
python310Packages.pynisher: add pythonImportsCheck
This commit is contained in:
parent
a78bc4244e
commit
0ec13035f6
|
@ -1,25 +1,39 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, psutil, docutils }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, docutils
|
||||
, fetchPypi
|
||||
, psutil
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pynisher";
|
||||
version = "0.6.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "111d91aad471375c0509a912415ff90053ef909100facf412511383af107c124";
|
||||
hash = "sha256-ER2RqtRxN1wFCakSQV/5AFPvkJEA+s9BJRE4OvEHwSQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ psutil docutils ];
|
||||
propagatedBuildInputs = [
|
||||
psutil
|
||||
docutils
|
||||
];
|
||||
|
||||
# no tests in the Pypi archive
|
||||
# No tests in the Pypi archive
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pynisher"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The pynisher is a little module intended to limit a functions resources.";
|
||||
description = "Module intended to limit a functions resources";
|
||||
homepage = "https://github.com/sfalkner/pynisher";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ psyanticy ];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue