1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/pyprind/default.nix

29 lines
592 B
Nix
Raw Normal View History

2018-03-09 09:20:32 +00:00
{ stdenv, fetchPypi, buildPythonPackage
, psutil
, pytest }:
buildPythonPackage rec {
pname = "PyPrind";
version = "2.11.2";
src = fetchPypi {
inherit pname version;
sha256 = "0xg6m5hr33h9bdlrr42kc58jm2m87a9zsagy7n2m4n407d2snv64";
};
buildInputs = [ psutil ];
checkInputs = [ pytest ];
checkPhase = ''
py.test tests
'';
meta = with stdenv.lib; {
description = "Python Progress Bar and Percent Indicator Utility";
homepage = "https://github.com/rasbt/pyprind";
2018-03-09 09:20:32 +00:00
license = licenses.bsd3;
maintainers = with maintainers; [ jfrankenau ];
};
}