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