75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
50 lines
881 B
Nix
50 lines
881 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools_scm
|
|
, pytestCheckHook
|
|
, pytest-asyncio
|
|
, pytest-timeout
|
|
, numpy
|
|
, pandas
|
|
, rich
|
|
, tkinter
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tqdm";
|
|
version = "4.58.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1fjvaag1wy70gglxjkfnn0acrya7fbhzi4adbs1bpap8x03wffn2";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools_scm
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
pytest-asyncio
|
|
pytest-timeout
|
|
# tests of optional features
|
|
numpy
|
|
pandas
|
|
rich
|
|
tkinter
|
|
];
|
|
|
|
# Remove performance testing.
|
|
# Too sensitive for on Hydra.
|
|
PYTEST_ADDOPTS = "-k \"not perf\"";
|
|
|
|
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 ];
|
|
};
|
|
}
|