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