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

26 lines
629 B
Nix
Raw Normal View History

2018-06-11 14:58:49 +02:00
{ stdenv, buildPythonPackage, fetchPypi, psutil, docutils }:
buildPythonPackage rec {
pname = "pynisher";
2018-11-04 11:35:12 +01:00
version = "0.5.0";
2018-06-11 14:58:49 +02:00
src = fetchPypi {
inherit pname version;
2018-11-04 11:35:12 +01:00
sha256 = "1b1079315ad1009de108c9ad701f6ae5274264e64503fc22c2de366d99953f34";
2018-06-11 14:58:49 +02: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;
license = licenses.mit;
maintainers = with maintainers; [ psyanticy ];
};
}