2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage
|
2018-03-09 09:20:32 +00:00
|
|
|
, psutil
|
|
|
|
, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "PyPrind";
|
2021-06-18 22:47:32 +01:00
|
|
|
version = "2.11.3";
|
2018-03-09 09:20:32 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 22:47:32 +01:00
|
|
|
sha256 = "e37dcab6e1a9c8e0a7f0fce65fde7a79e2deda1c75aa015910a49e2137b54cbf";
|
2018-03-09 09:20:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ psutil ];
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test tests
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-03-09 09:20:32 +00:00
|
|
|
description = "Python Progress Bar and Percent Indicator Utility";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/rasbt/pyprind";
|
2018-03-09 09:20:32 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ jfrankenau ];
|
|
|
|
};
|
|
|
|
}
|