blob: b3647e0f1b60bff54e623fb8c131da023eb6b1b8 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
{ lib
, fetchFromGitHub
, git
, nodejs
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "cwltool";
version = "3.1.20220221074232";
format = "setuptools";
src = fetchFromGitHub {
owner = "common-workflow-language";
repo = pname;
rev = version;
sha256 = "sha256-hUdwtqYHcfyJ68LzwwCXAxr7YIkJm64brb+kA/WJqU8=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "ruamel.yaml >= 0.15, < 0.17.18" "ruamel.yaml" \
--replace "prov == 1.5.1" "prov" \
--replace "setup_requires=PYTEST_RUNNER," ""
'';
nativeBuildInputs = [
git
];
propagatedBuildInputs = with python3.pkgs; [
argcomplete
bagit
coloredlogs
mypy-extensions
prov
psutil
pydot
rdflib
requests
ruamel-yaml
schema-salad
shellescape
typing-extensions
];
checkInputs = with python3.pkgs; [
mock
nodejs
pytest-mock
pytest-xdist
pytestCheckHook
];
disabledTests = [
"test_content_types"
"test_env_filtering"
"test_http_path_mapping"
];
disabledTestPaths = [
"tests/test_udocker.py"
"tests/test_provenance.py"
];
pythonImportsCheck = [
"cwltool"
];
meta = with lib; {
description = "Common Workflow Language reference implementation";
homepage = "https://www.commonwl.org";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ veprbl ];
};
}
|