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