about summary refs log tree commit diff
path: root/pkgs/applications/science/misc/toil/default.nix
blob: b13ad0ad10ca3c49201262342937d7002b7b3de5 (plain) (blame)
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
46
{ lib
, fetchFromGitHub
, python3
}:

python3.pkgs.buildPythonApplication rec {
  pname = "toil";
  version = "5.6.0";
  format = "setuptools";

  src = python3.pkgs.fetchPypi {
    inherit pname version;
    sha256 = "sha256-m6tzrRCCLULO+wB8htUlt0KESLm/vdIeTzBrihnAo/I=";
  };

  propagatedBuildInputs = with python3.pkgs; [
    addict
    docker
    pytz
    pyyaml
    enlighten
    psutil
    py-tes
    python-dateutil
    dill
  ];

  checkInputs = with python3.pkgs; [
    pytestCheckHook
  ];

  pytestFlagsArray = [
    "src/toil/test"
  ];

  pythonImportsCheck = [
    "toil"
  ];

  meta = with lib; {
    description = "Workflow engine written in pure Python";
    homepage = "https://toil.ucsc-cgl.org/";
    license = with licenses; [ asl20 ];
    maintainers = with maintainers; [ veprbl ];
  };
}