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.3.1";
15 format = "setuptools";
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchPypi {
20 pname = "Jug";
21 inherit version;
22 hash = "sha256-Y2TWqJi7GjmWUFpe1b150NgwRw9VKhCk5EoN5NDcPXU=";
23 };
24
25 propagatedBuildInputs = [
26 bottle
27 ];
28
29 nativeCheckInputs = [
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 changelog = "https://github.com/luispedro/jug/blob/v${version}/ChangeLog";
44 license = licenses.mit;
45 maintainers = with maintainers; [ luispedro ];
46 };
47}