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