depot/third_party/nixpkgs/pkgs/development/python-modules/fastprogress/default.nix
Default email 8e65f7f0cc Project import generated by Copybara.
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
2022-03-05 17:20:37 +01:00

31 lines
658 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, numpy
, pythonOlder
}:
buildPythonPackage rec {
pname = "fastprogress";
version = "1.0.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-lga6RCUFo6RFgdY97dzlv/HfF6y9w3JS98PxvlLB0kM=";
};
propagatedBuildInputs = [ numpy ];
# no real tests
doCheck = false;
pythonImportsCheck = [ "fastprogress" ];
meta = with lib; {
homepage = "https://github.com/fastai/fastprogress";
description = "Simple and flexible progress bar for Jupyter Notebook and console";
license = licenses.asl20;
maintainers = with maintainers; [ ris ];
};
}