Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions pkgs/development/python-modules/fastprogress/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ stdenv
, 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 stdenv.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 ];
};

}
5 changes: 5 additions & 0 deletions pkgs/development/python-modules/pymc3/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
, pytest
, nose
, parameterized
, fastprogress
, typing-extensions
}:

buildPythonPackage rec {
Expand Down Expand Up @@ -41,6 +43,8 @@ buildPythonPackage rec {
h5py
arviz
packaging
fastprogress
typing-extensions
];

checkInputs = [
Expand All @@ -52,6 +56,7 @@ buildPythonPackage rec {
# The test suite is computationally intensive and test failures are not
# indicative for package usability hence tests are disabled by default.
doCheck = false;
pythonImportsCheck = [ "pymc3" ];

# For some reason tests are run as a part of the *install* phase if enabled.
# Theano writes compiled code to ~/.theano hence we set $HOME.
Expand Down
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2002,6 +2002,8 @@ in {

fastpbkdf2 = callPackage ../development/python-modules/fastpbkdf2 { };

fastprogress = callPackage ../development/python-modules/fastprogress { };

fastrlock = callPackage ../development/python-modules/fastrlock { };

fasttext = callPackage ../development/python-modules/fasttext { };
Expand Down