Fabian Affolter 2025-02-14 00:22:06 +01:00
parent ca827ed60a
commit 3834b653fe
2 changed files with 23 additions and 4 deletions

View file

@ -4,6 +4,25 @@
python3,
}:
let
py = python3.override {
packageOverrides = self: super: {
# Requires 'cyclonedx-python-lib = ">=6.0.0,<8.0.0"'
cyclonedx-python-lib = super.cyclonedx-python-lib.overridePythonAttrs (oldAttrs: rec {
version = "7.6.2";
src = fetchFromGitHub {
owner = "CycloneDX";
repo = "cyclonedx-python-lib";
tag = "v${version}";
hash = "sha256-nklizCiu7Nmynjd5WU5oX/v2TWy9xFVF4GkmCwFKZLI=";
};
});
};
};
in
with py.pkgs;
python3.pkgs.buildPythonApplication rec {
pname = "checkov";
version = "3.2.370";
@ -43,9 +62,9 @@ python3.pkgs.buildPythonApplication rec {
"pycep-parser"
];
build-system = with python3.pkgs; [ setuptools-scm ];
build-system = with py.pkgs; [ setuptools-scm ];
dependencies = with python3.pkgs; [
dependencies = with py.pkgs; [
aiodns
aiohttp
aiomultiprocess
@ -88,7 +107,7 @@ python3.pkgs.buildPythonApplication rec {
update-checker
];
nativeCheckInputs = with python3.pkgs; [
nativeCheckInputs = with py.pkgs; [
aioresponses
distutils
mock

View file

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec {
pname = "pip-audit";
version = "2.7.3";
format = "pyproject";
pyproject = true;
src = fetchFromGitHub {
owner = "trailofbits";