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