blob: 3d1c3a84220863956ba02f57b860cffefbb32a8d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ lib
, buildPythonPackage
, fetchPypi
, psutil
, pythonOlder
, typing-extensions
}:
buildPythonPackage rec {
pname = "pynisher";
version = "1.0.8";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-BTH34zv7OAaVKc20VASfv3QaxAt/Y14Dkd/PBo/V6vo=";
};
propagatedBuildInputs = [
psutil
typing-extensions
];
# No tests in the Pypi archive
doCheck = false;
pythonImportsCheck = [
"pynisher"
];
meta = with lib; {
description = "Module intended to limit a functions resources";
homepage = "https://github.com/automl/pynisher";
license = licenses.mit;
maintainers = with maintainers; [ psyanticy ];
};
}
|