depot/third_party/nixpkgs/pkgs/development/python-modules/fastprogress/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

32 lines
668 B
Nix

{ lib
, 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" ];
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 ];
};
}