nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 fastcore,
7 numpy,
8}:
9
10buildPythonPackage rec {
11 pname = "fastprogress";
12 version = "1.1.3";
13 pyproject = true;
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-L3Bxvrk84mHdtR1mskOoUXtCFWOgEHSY5Yhe0tkTb8o=";
18 };
19
20 build-system = [ setuptools ];
21
22 dependencies = [
23 fastcore
24 numpy
25 ];
26
27 # no real tests
28 doCheck = false;
29 pythonImportsCheck = [ "fastprogress" ];
30
31 meta = {
32 homepage = "https://github.com/fastai/fastprogress";
33 description = "Simple and flexible progress bar for Jupyter Notebook and console";
34 license = lib.licenses.asl20;
35 maintainers = with lib.maintainers; [ ris ];
36 };
37}