2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2020-10-03 23:31:43 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, numpy
|
|
|
|
, pytest
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fastprogress";
|
|
|
|
version = "1.0.0";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1zhv37q6jkqd1pfhlkd4yzrc3dg83vyksgzf32mjlhd5sb0qmql9";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy ];
|
|
|
|
|
|
|
|
# no real tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "fastprogress" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-10-03 23:31:43 +01:00
|
|
|
homepage = "https://github.com/fastai/fastprogress";
|
|
|
|
description = "Simple and flexible progress bar for Jupyter Notebook and console";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ ris ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|