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