1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 psutil,
6 pytest,
7}:
8
9buildPythonPackage rec {
10 pname = "pyprind";
11 version = "2.11.3";
12
13 src = fetchPypi {
14 pname = "PyPrind";
15 inherit version;
16 sha256 = "e37dcab6e1a9c8e0a7f0fce65fde7a79e2deda1c75aa015910a49e2137b54cbf";
17 };
18
19 buildInputs = [ psutil ];
20
21 nativeCheckInputs = [ pytest ];
22
23 checkPhase = ''
24 py.test tests
25 '';
26
27 meta = with lib; {
28 description = "Python Progress Bar and Percent Indicator Utility";
29 homepage = "https://github.com/rasbt/pyprind";
30 license = licenses.bsd3;
31 maintainers = with maintainers; [ ];
32 };
33}