8 python3.pkgs.buildPythonApplication rec {
10 version = "3.1.20240708091337";
13 src = fetchFromGitHub {
14 owner = "common-workflow-language";
16 rev = "refs/tags/${version}";
17 hash = "sha256-Umxh8sRBy7fC6+GrcN1q4iO0KVpmUhGPtnqZZK/6c9M=";
21 substituteInPlace setup.py \
22 --replace "ruamel.yaml >= 0.16, < 0.19" "ruamel.yaml" \
23 --replace "prov == 1.5.1" "prov" \
24 --replace '"schema-salad >= 8.4.20230426093816, < 9",' "" \
25 --replace "PYTEST_RUNNER + " ""
26 substituteInPlace pyproject.toml \
27 --replace "ruamel.yaml>=0.16.0,<0.18" "ruamel.yaml" \
28 --replace "mypy==1.10.0" "mypy==1.10.*"
33 ] ++ (with python3.pkgs; [
38 propagatedBuildInputs = with python3.pkgs; [
60 nativeCheckInputs = with python3.pkgs; [
72 "test_http_path_mapping"
73 "test_modification_date"
77 "tests/test_udocker.py"
78 "tests/test_provenance.py"
81 pythonImportsCheck = [
86 description = "Common Workflow Language reference implementation";
87 mainProgram = "cwltool";
88 homepage = "https://www.commonwl.org";
89 changelog = "https://github.com/common-workflow-language/cwltool/releases/tag/${version}";
90 license = with licenses; [ asl20 ];
91 maintainers = with maintainers; [ veprbl ];