nixpkgs/pkgs/development/python-modules/tqdm/default.nix

40 lines
791 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, nose
, coverage
, glibcLocales
, flake8
}:
buildPythonPackage rec {
pname = "tqdm";
2020-11-29 06:04:44 -08:00
version = "4.54.0";
src = fetchPypi {
inherit pname version;
2020-11-29 06:04:44 -08:00
sha256 = "5c0d04e06ccc0da1bd3fa5ae4550effcce42fcad947b4a6cafa77bdc9b09ff22";
};
2019-12-15 16:20:19 -08:00
checkInputs = [ nose coverage glibcLocales flake8 ];
postPatch = ''
# Remove performance testing.
# Too sensitive for on Hydra.
rm tqdm/tests/tests_perf.py
'';
LC_ALL="en_US.UTF-8";
2019-02-13 23:37:31 -08:00
# doCheck = !stdenv.isDarwin;
# Test suite is too big and slow.
doCheck = false;
meta = {
description = "A Fast, Extensible Progress Meter";
homepage = "https://github.com/tqdm/tqdm";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fridh ];
};
}