summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/jug/default.nix
blob: 63359f40c83f0dc3807ba9176cf3801027d0fb1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
  lib,
  bottle,
  buildPythonPackage,
  fetchFromGitHub,
  numpy,
  pytestCheckHook,
  pyyaml,
  redis,
  setuptools,
}:

buildPythonPackage rec {
  pname = "jug";
  version = "2.4.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "luispedro";
    repo = "jug";
    tag = "v${version}";
    hash = "sha256-zERCY9JxceBmhJbytfsm/6rDwipqQ1XjzY/2QFsEEEg=";
  };

  build-system = [ setuptools ];

  dependenciesk = [ bottle ];

  nativeCheckInputs = [
    numpy
    pytestCheckHook
    pyyaml
    redis
  ];

  pythonImportsCheck = [ "jug" ];

  meta = {
    description = "Task-Based Parallelization Framework";
    homepage = "https://jug.readthedocs.io/";
    changelog = "https://github.com/luispedro/jug/blob/v${version}/ChangeLog";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ luispedro ];
  };
}