mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
67 lines
1.1 KiB
Nix
67 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
setuptools-scm,
|
|
wheel,
|
|
pytestCheckHook,
|
|
pytest-asyncio,
|
|
pytest-timeout,
|
|
numpy,
|
|
pandas,
|
|
rich,
|
|
tkinter,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tqdm";
|
|
version = "4.66.4";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-5Nk2yd6HJ5KPO+YHlZDpfZq/6NOaWQvmeOtZGf/Bhrs=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
setuptools-scm
|
|
wheel
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-asyncio
|
|
pytest-timeout
|
|
# tests of optional features
|
|
numpy
|
|
rich
|
|
tkinter
|
|
pandas
|
|
];
|
|
|
|
pytestFlagsArray = [
|
|
"-W"
|
|
"ignore::FutureWarning"
|
|
"-W"
|
|
"ignore::DeprecationWarning"
|
|
];
|
|
|
|
# Remove performance testing.
|
|
# Too sensitive for on Hydra.
|
|
disabledTests = [ "perf" ];
|
|
|
|
LC_ALL = "en_US.UTF-8";
|
|
|
|
pythonImportsCheck = [ "tqdm" ];
|
|
|
|
meta = with lib; {
|
|
description = "Fast, Extensible Progress Meter";
|
|
mainProgram = "tqdm";
|
|
homepage = "https://github.com/tqdm/tqdm";
|
|
changelog = "https://tqdm.github.io/releases/";
|
|
license = with licenses; [ mit ];
|
|
};
|
|
}
|