mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #174550 from fabaff/bump-checkov
checkov: 2.0.1160 -> 2.0.1161
This commit is contained in:
commit
2335642895
@ -8,14 +8,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bc-python-hcl2";
|
pname = "bc-python-hcl2";
|
||||||
version = "0.3.40";
|
version = "0.3.41";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-4we2Txk7kJ1SrCa82eQJ9OsqyTkFzocNi+GG7cV+OAc=";
|
hash = "sha256-TrQtG2MWc4prr8grEE1XifjjLq7GPe6JPRMgpNNGfPY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Nose is required during build process, so can not use `checkInputs`.
|
# Nose is required during build process, so can not use `checkInputs`.
|
||||||
|
@ -32,13 +32,13 @@ with py.pkgs;
|
|||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "checkov";
|
pname = "checkov";
|
||||||
version = "2.0.1160";
|
version = "2.0.1161";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bridgecrewio";
|
owner = "bridgecrewio";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-9vxmNJuRvBGJ9vBBx24C2CUirOpOpzfX7bxyOFrsAp4=";
|
hash = "sha256-EJpmJ6/Q5j8olY0hD2wX2zeF0cTwFQuaMsno2zXRfvI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with py.pkgs; [
|
nativeBuildInputs = with py.pkgs; [
|
||||||
@ -94,7 +94,7 @@ buildPythonApplication rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "bc-python-hcl2==0.3.39" "bc-python-hcl2>=0.3.39" \
|
--replace "bc-python-hcl2==" "bc-python-hcl2>=" \
|
||||||
--replace "cyclonedx-python-lib>=0.11.0,<1.0.0" "cyclonedx-python-lib>=0.11.0" \
|
--replace "cyclonedx-python-lib>=0.11.0,<1.0.0" "cyclonedx-python-lib>=0.11.0" \
|
||||||
--replace "prettytable>=3.0.0" "prettytable" \
|
--replace "prettytable>=3.0.0" "prettytable" \
|
||||||
--replace "pycep-parser==0.3.6" "pycep-parser"
|
--replace "pycep-parser==0.3.6" "pycep-parser"
|
||||||
|
Loading…
Reference in New Issue
Block a user