nixpkgs/pkgs/development/python-modules/tqdm-multiprocess/default.nix
Ihar Hrachyshka f31fad47e8 python313Packages.tqdm-multiprocess: disable updateScript
The default updater fails, and it's hard or impossible to implement an
updater. Not worth the effort.
2025-08-22 21:38:40 -04:00

45 lines
970 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
tqdm,
colorama,
}:
buildPythonPackage {
pname = "tqdm-multiprocess";
version = "0.0.11";
pyproject = true;
src = fetchFromGitHub {
owner = "EleutherAI";
repo = "tqdm-multiprocess";
rev = "fccefc473595055bf3a5e74bcf8a75b3a9517638";
hash = "sha256-nQeFPwF5OasOYrVs7kLG/Uz6pf1FKxar4ygggo8s4ZM=";
};
build-system = [
setuptools-scm
];
dependencies = [
colorama
tqdm
];
pythonImportsCheck = [
"tqdm_multiprocess"
];
# pypi is broken; github has no tags; the package haven't seen updates for years
passthru.updateScript = null;
meta = {
description = "Support multiple worker processes, each with multiple tqdm progress bars, displaying them cleanly through the main process";
homepage = "https://github.com/EleutherAI/tqdm-multiprocess";
license = [ lib.licenses.mit ];
maintainers = [ lib.maintainers.booxter ];
};
}