2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
numpy,
|
|
|
|
pythonOlder,
|
2020-10-19 00:13:06 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fastprogress";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "1.0.3";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-10-19 00:13:06 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-ehfStDiJD4OMBI7vzjLE3tRxl+zI6gQs7MM9PeuAIvU=";
|
2020-10-19 00:13:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy ];
|
|
|
|
|
|
|
|
# no real tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "fastprogress" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-19 00:13:06 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|