From 8f1c4b4dde202b14005249db1880cccd7f4cf128 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 12 Dec 2015 21:04:16 +0100 Subject: [PATCH] python tqdm: init at 3.1.4 --- pkgs/top-level/python-packages.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index fab1d41bcc7f..29d6773c0157 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -18722,6 +18722,31 @@ in modules // { }; }; + tqdm = buildPythonPackage rec { + name = "tqdm-${version}"; + version = "3.1.4"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/t/tqdm/${name}.tar.gz"; + sha256 = "e2dbef0df0fd24c9ae3b2e07bef2a3607ad8431142e76d3294a5a11926d214bf"; + }; + + buildInputs = with self; [ nose coverage pkgs.glibcLocales flake8 ]; + propagatedBuildInputs = with self; [ matplotlib pandas ]; + + preBuild = '' + export LC_ALL="en_US.UTF-8" + ''; + + doCheck = !(isPy27); # Performance test fails + + meta = { + description = "A Fast, Extensible Progress Meter"; + homepage = https://github.com/tqdm/tqdm; + license = with licenses; [ mit ]; + }; + }; + smmap = buildPythonPackage rec { name = "smmap-0.9.0"; disabled = isPyPy; # This fails the tests if built with pypy