about summary refs log tree commit diff
path: root/pkgs/development/python-modules/progress/default.nix
blob: 801beaa447109cb2d647dc6578c11fa56012ce9c (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
{ lib
, buildPythonPackage
, fetchPypi
, python
}:

buildPythonPackage rec {
  version = "1.6";
  pname = "progress";

  src = fetchPypi {
    inherit pname version;
    sha256 = "c9c86e98b5c03fa1fe11e3b67c1feda4788b8d0fe7336c2ff7d5644ccfba34cd";
  };

  checkPhase = ''
    ${python.interpreter} test_progress.py
  '';

  meta = with lib; {
    homepage = "https://github.com/verigak/progress/";
    description = "Easy to use progress bars";
    license = licenses.mit;
    maintainers = [ maintainers.costrouc ];
  };
}