nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 44 lines 970 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools-scm, 6 tqdm, 7 colorama, 8}: 9 10buildPythonPackage { 11 pname = "tqdm-multiprocess"; 12 version = "0.0.11"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "EleutherAI"; 17 repo = "tqdm-multiprocess"; 18 rev = "fccefc473595055bf3a5e74bcf8a75b3a9517638"; 19 hash = "sha256-nQeFPwF5OasOYrVs7kLG/Uz6pf1FKxar4ygggo8s4ZM="; 20 }; 21 22 build-system = [ 23 setuptools-scm 24 ]; 25 26 dependencies = [ 27 colorama 28 tqdm 29 ]; 30 31 pythonImportsCheck = [ 32 "tqdm_multiprocess" 33 ]; 34 35 # pypi is broken; github has no tags; the package haven't seen updates for years 36 passthru.updateScript = null; 37 38 meta = { 39 description = "Support multiple worker processes, each with multiple tqdm progress bars, displaying them cleanly through the main process"; 40 homepage = "https://github.com/EleutherAI/tqdm-multiprocess"; 41 license = [ lib.licenses.mit ]; 42 maintainers = [ lib.maintainers.booxter ]; 43 }; 44}