1{
2 lib,
3 bottle,
4 buildPythonPackage,
5 fetchFromGitHub,
6 numpy,
7 pytestCheckHook,
8 pyyaml,
9 redis,
10 setuptools,
11}:
12
13buildPythonPackage rec {
14 pname = "jug";
15 version = "2.4.0";
16 pyproject = true;
17
18 src = fetchFromGitHub {
19 owner = "luispedro";
20 repo = "jug";
21 tag = "v${version}";
22 hash = "sha256-zERCY9JxceBmhJbytfsm/6rDwipqQ1XjzY/2QFsEEEg=";
23 };
24
25 build-system = [ setuptools ];
26
27 dependenciesk = [ bottle ];
28
29 nativeCheckInputs = [
30 numpy
31 pytestCheckHook
32 pyyaml
33 redis
34 ];
35
36 pythonImportsCheck = [ "jug" ];
37
38 meta = with lib; {
39 description = "Task-Based Parallelization Framework";
40 homepage = "https://jug.readthedocs.io/";
41 changelog = "https://github.com/luispedro/jug/blob/v${version}/ChangeLog";
42 license = licenses.mit;
43 maintainers = with maintainers; [ luispedro ];
44 };
45}