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