nixpkgs/pkgs/development/python-modules/pynisher/default.nix

26 lines
631 B
Nix
Raw Normal View History

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.";
homepage = "https://github.com/sfalkner/pynisher";
2018-06-11 13:58:49 +01:00
license = licenses.mit;
maintainers = with maintainers; [ psyanticy ];
};
}