1{ lib
2, buildPythonPackage
3, fetchPypi
4, numpy
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "fastprogress";
10 version = "1.0.3";
11 disabled = pythonOlder "3.6";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-ehfStDiJD4OMBI7vzjLE3tRxl+zI6gQs7MM9PeuAIvU=";
16 };
17
18 propagatedBuildInputs = [ numpy ];
19
20 # no real tests
21 doCheck = false;
22 pythonImportsCheck = [ "fastprogress" ];
23
24 meta = with lib; {
25 homepage = "https://github.com/fastai/fastprogress";
26 description = "Simple and flexible progress bar for Jupyter Notebook and console";
27 license = licenses.asl20;
28 maintainers = with maintainers; [ ris ];
29 };
30
31}