66 python3 ,
77} :
88
9- python3 . pkgs . buildPythonApplication rec {
9+ let
10+ py = python3 . override {
11+ packageOverrides = final : prev : {
12+ # Requires "pydot >= 1.4.1, <3",
13+ pydot = prev . pydot . overridePythonAttrs ( old : rec {
14+ version = "2.0.0" ;
15+ src = old . src . override {
16+ inherit version ;
17+ hash = "sha256-YCRq8hUSP6Bi8hzXkb5n3aI6bygN8J9okZ5jeh5PMjU=" ;
18+ } ;
19+ doCheck = false ;
20+ } ) ;
21+ } ;
22+ } ;
23+ in
24+ with py . pkgs ;
25+
26+ py . pkgs . buildPythonApplication rec {
1027 pname = "cwltool" ;
11- version = "3.1.20241024121129 " ;
28+ version = "3.1.20241217163858 " ;
1229 pyproject = true ;
1330
1431 src = fetchFromGitHub {
1532 owner = "common-workflow-language" ;
1633 repo = "cwltool" ;
1734 rev = "refs/tags/${ version } " ;
18- hash = "sha256-MocgfELgis9b+byeDU7mDQcXnLhaWBtvGbqm7MtRdf8 =" ;
35+ hash = "sha256-46x/7ewnt1eTu+1GdmPUExpiFfYE3mN8N8VFMM4r1Vk =" ;
1936 } ;
2037
2138 postPatch = ''
2239 substituteInPlace setup.py \
23- --replace-fail "ruamel.yaml >= 0.16, < 0.19" "ruamel.yaml" \
2440 --replace-fail "prov == 1.5.1" "prov" \
2541 --replace-fail '"schema-salad >= 8.7, < 9",' '"schema-salad",' \
2642 --replace-fail "PYTEST_RUNNER + " ""
27- substituteInPlace pyproject.toml \
28- --replace-fail "ruamel.yaml>=0.16.0,<0.18" "ruamel.yaml" \
29- --replace-fail "mypy==1.13.0" "mypy"
3043 '' ;
3144
32- nativeBuildInputs =
33- [
34- git
35- ]
36- ++ ( with python3 . pkgs ; [
37- setuptools
38- setuptools-scm
39- ] ) ;
45+ build-system = with py . pkgs ; [
46+ setuptools
47+ setuptools-scm
48+ ] ;
49+
50+ nativeBuildInputs = [ git ] ;
4051
41- dependencies = with python3 . pkgs ; [
52+ dependencies = with py . pkgs ; [
4253 argcomplete
4354 bagit
4455 coloredlogs
@@ -50,6 +61,7 @@ python3.pkgs.buildPythonApplication rec {
5061 pydot
5162 rdflib
5263 requests
64+ rich-argparse
5365 ruamel-yaml
5466 schema-salad
5567 shellescape
@@ -60,7 +72,7 @@ python3.pkgs.buildPythonApplication rec {
6072 typing-extensions
6173 ] ;
6274
63- nativeCheckInputs = with python3 . pkgs ; [
75+ nativeCheckInputs = with py . pkgs ; [
6476 mock
6577 nodejs
6678 pytest-mock
@@ -89,7 +101,7 @@ python3.pkgs.buildPythonApplication rec {
89101 description = "Common Workflow Language reference implementation" ;
90102 homepage = "https://www.commonwl.org" ;
91103 changelog = "https://github.com/common-workflow-language/cwltool/releases/tag/${ version } " ;
92- license = with licenses ; [ asl20 ] ;
104+ license = licenses . asl20 ;
93105 maintainers = with maintainers ; [ veprbl ] ;
94106 mainProgram = "cwltool" ;
95107 } ;
0 commit comments