git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #156575 from fabaff/bump-checkov

checkov: 2.0.752 -> 2.0.753

commit1860f951fce495477f93b01d6128f36384dc32c2 authorFabian Affolter <fabian@affolter-engineering.ch> dateTue 25 Jan 2022, 16:30 (5 years ago) parent7f2639d8056849
1 file changed+14−5
pkgs/development/tools/analysis/checkov/default.nix+14−5
pkgs/development/tools/analysis/checkov/default.nix+14−5
@@ -22,13 +22,13 @@ with py.pkgs;
2222
2323buildPythonApplication rec {
2424 pname = "checkov";
25− version = "2.0.727";
25+ version = "2.0.753";
2626
2727 src = fetchFromGitHub {
2828 owner = "bridgecrewio";
2929 repo = pname;
3030 rev = version;
31− hash = "sha256-hegbkmM8ZN6zO2iANGRr2QRW3ErdtwYaTo618uELev0=";
31+ hash = "sha256-6CBe4BuztW3EoLWqGmuRmWfVfb1gP5cPEzYnyBtPEsE=";
3232 };
3333
3434 nativeBuildInputs = with py.pkgs; [
@@ -60,6 +60,7 @@ buildPythonApplication rec {
6060 networkx
6161 packaging
6262 policyuniverse
63+ prettytable
6364 pyyaml
6465 semantic-version
6566 tabulate
@@ -71,7 +72,6 @@ buildPythonApplication rec {
7172
7273 checkInputs = with py.pkgs; [
7374 aioresponses
74− jsonschema
7575 mock
7676 pytest-asyncio
7777 pytest-mock
@@ -81,8 +81,11 @@ buildPythonApplication rec {
8181
8282 postPatch = ''
8383 substituteInPlace setup.py \
84− --replace "cyclonedx-python-lib>=0.11.0,<1.0.0" "cyclonedx-python-lib>=0.11.0" \
85− --replace "jsonschema==3.0.2" "jsonschema>=3.0.2"
84+ --replace "cyclonedx-python-lib>=0.11.0,<1.0.0" "cyclonedx-python-lib>=0.11.0"
85+ '';
86+
87+ preCheck = ''
88+ export HOME=$(mktemp -d);
8689 '';
8790
8891 disabledTests = [
@@ -92,6 +95,9 @@ buildPythonApplication rec {
9295 "TestSarifReport"
9396 # Will probably be fixed in one of the next releases
9497 "test_valid_cyclonedx_bom"
98+ # Requires prettytable release which is only available in staging
99+ "test_skipped_check_exists"
100+ "test_record_relative_path_with_relative_dir"
95101 ];
96102
97103 disabledTestPaths = [
@@ -101,6 +107,9 @@ buildPythonApplication rec {
101107 "tests/terraform/"
102108 # Performance tests have no value for us
103109 "performance_tests/test_checkov_performance.py"
110+ # Requires prettytable release which is only available in staging
111+ "tests/sca_package/"
112+ "tests/test_runner_filter.py"
104113 ];
105114
106115 pythonImportsCheck = [