2018-06-11 13:58:49 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, psutil, docutils }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pynisher";
|
2018-11-04 10:35:12 +00:00
|
|
|
version = "0.5.0";
|
2018-06-11 13:58:49 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:12 +00:00
|
|
|
sha256 = "1b1079315ad1009de108c9ad701f6ae5274264e64503fc22c2de366d99953f34";
|
2018-06-11 13:58:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ psutil docutils ];
|
|
|
|
|
|
|
|
# no tests in the Pypi archive
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "The pynisher is a little module intended to limit a functions resources.";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/sfalkner/pynisher";
|
2018-06-11 13:58:49 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ psyanticy ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|