summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyprind/default.nix
blob: 9c13a95357018fe4cfaab9372f69183710e40e66 (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
{ lib, 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 lib; {
    description = "Python Progress Bar and Percent Indicator Utility";
    homepage = "https://github.com/rasbt/pyprind";
    license = licenses.bsd3;
    maintainers = with maintainers; [ jfrankenau ];
  };
}