lol

checkov: fix broken build (#442307)

authored by

Fabian Affolter and committed by
GitHub
ba43ab11 b60204f3

+13 -1
+13 -1
pkgs/by-name/ch/checkov/package.nix
··· 17 17 tag = "v${version}"; 18 18 hash = "sha256-nklizCiu7Nmynjd5WU5oX/v2TWy9xFVF4GkmCwFKZLI="; 19 19 }; 20 + 21 + # The `serializable` package eventually got renamed `py_serializable`, therefore we need 22 + # to patch the imports; 23 + # _c.f._ https://github.com/madpah/serializable/pull/155 . 24 + postPatch = '' 25 + find . -name '*.py' | xargs -I{} sed -i \ 26 + -e 's/serializable\./py_serializable\./g' \ 27 + -e 's/@serializable/@py_serializable/g' \ 28 + -e 's/from serializable/from py_serializable/g' \ 29 + -e 's/import serializable/import py_serializable/g' \ 30 + {} 31 + ''; 20 32 }); 21 33 }; 22 34 }; ··· 41 53 "bc-python-hcl2" 42 54 "boto3" 43 55 "botocore" 56 + "cachetools" 44 57 "cloudsplaining" 45 - "cyclonedx-python-lib" 46 58 "dpath" 47 59 "igraph" 48 60 "importlib-metadata"