mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-09 16:18:34 +01:00
The default updater fails, and it's hard or impossible to implement an updater. Not worth the effort.
45 lines
970 B
Nix
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 ];
|
|
};
|
|
}
|