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 meta = {
36 description = "Support multiple worker processes, each with multiple tqdm progress bars, displaying them cleanly through the main process";
37 homepage = "https://github.com/EleutherAI/tqdm-multiprocess";
38 license = [ lib.licenses.mit ];
39 maintainers = [ lib.maintainers.booxter ];
40 };
41}