summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyprind/default.nix
blob: de1b17be739dad40d0f232efa7a8bb9d85336e43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ 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;
    license = licenses.bsd3;
    maintainers = with maintainers; [ jfrankenau ];
  };
}