diff options
author | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-08-11 20:57:56 -0700 |
---|---|---|
committer | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-08-11 20:57:56 -0700 |
commit | 920915eaec56cde7c0ed7543ddb99ae55dddee84 (patch) | |
tree | cf1503528ac2be028eb625dc5d22f6b6dfde77c3 /pkgs/development/python-modules/cwlformat | |
parent | 981171662bdf4d67d18c85c0761cae950232a06b (diff) |
python3.pkgs.cwlformat: fix build after ruamel-yaml update
Diffstat (limited to 'pkgs/development/python-modules/cwlformat')
-rw-r--r-- | pkgs/development/python-modules/cwlformat/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/cwlformat/default.nix b/pkgs/development/python-modules/cwlformat/default.nix index 28da8e50beeb2..0703175d02752 100644 --- a/pkgs/development/python-modules/cwlformat/default.nix +++ b/pkgs/development/python-modules/cwlformat/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub +, fetchpatch , pytestCheckHook , pythonOlder , ruamel-yaml @@ -20,6 +21,15 @@ buildPythonPackage rec { hash = "sha256-FI8hUgb/KglTkubZ+StzptoSsYal71ITyyFNg7j48yk="; }; + patches = [ + # https://github.com/rabix/cwl-format/pull/21 + (fetchpatch { + name = "fix-for-ruamel-yaml-0.17.23.patch"; + url = "https://github.com/rabix/cwl-format/commit/9d54330c73c454d2ccacd55e2d51a4145f282041.patch"; + hash = "sha256-TZGK7T2gzxMvreCLtl3nkuPrqL2KzgrO3yCNmd5lY3g="; + }) + ]; + propagatedBuildInputs = [ ruamel-yaml ]; |