pythonPackages.tqdm: 4.8.4 -> 4.11.2

- matplotlib and pandas are optional dependencies, so let's remove them
- enable tests again
This commit is contained in:
Frederik Rietdijk 2017-05-01 06:06:38 +02:00
parent 2efb099c00
commit 536a634f28
2 changed files with 33 additions and 22 deletions

View file

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, nose
, coverage
, glibcLocales
, flake8
, matplotlib
, pandas
}:
buildPythonPackage rec {
pname = "tqdm";
version = "4.11.2";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "14baa7a9ea7723d46f60de5f8c6f20e840baa7e3e193bf0d9ec5fe9103a15254";
};
buildInputs = [ nose coverage glibcLocales flake8 ];
LC_ALL="en_US.UTF-8";
meta = {
description = "A Fast, Extensible Progress Meter";
homepage = https://github.com/tqdm/tqdm;
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fridh ];
};
}

View file

@ -25945,28 +25945,7 @@ in {
};
};
tqdm = buildPythonPackage rec {
name = "tqdm-${version}";
version = "4.8.4";
src = pkgs.fetchurl {
url = "mirror://pypi/t/tqdm/${name}.tar.gz";
sha256 = "bab05f8bb6efd2702ab6c532e5e6a758a66c0d2f443e09784b73e4066e6b3a37";
};
buildInputs = with self; [ nose coverage pkgs.glibcLocales flake8 ];
propagatedBuildInputs = with self; [ matplotlib pandas ];
LC_ALL="en_US.UTF-8";
doCheck = false; # Many transient failures in performance tests and due to use of sleep
meta = {
description = "A Fast, Extensible Progress Meter";
homepage = https://github.com/tqdm/tqdm;
license = with licenses; [ mit ];
};
};
tqdm = callPackage ../development/python-modules/tqdm { };
tqdm4 = buildPythonPackage rec {
name = "tqdm-${version}";