pip-audit: 2.4.12 -> 2.5.4 (#224590)
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
This commit is contained in:
parent
0885905707
commit
5c04ea5ccd
1 changed files with 10 additions and 16 deletions
|
@ -1,21 +1,18 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, python3
|
||||
}:
|
||||
|
||||
let
|
||||
py = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
|
||||
# ansible doesn't support resolvelib > 0.6.0 and can't have an override
|
||||
resolvelib = super.resolvelib.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.8.1";
|
||||
cyclonedx-python-lib = super.cyclonedx-python-lib.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2.7.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "sarugaku";
|
||||
repo = "resolvelib";
|
||||
rev = version;
|
||||
sha256 = "1qpd0gg9yl0kbamlgjs9pkxd39kx511kbc92civ77v0ka5sw8ca0";
|
||||
owner = "CycloneDX";
|
||||
repo = "cyclonedx-python-lib";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-c/KhoJOa121/h0n0GUazjUFChnUo05ThD+fuZXc5/Pk=";
|
||||
};
|
||||
});
|
||||
};
|
||||
|
@ -25,14 +22,14 @@ with py.pkgs;
|
|||
|
||||
buildPythonApplication rec {
|
||||
pname = "pip-audit";
|
||||
version = "2.4.12";
|
||||
version = "2.5.4";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "trailofbits";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-bpAs7xXWvBVGzbX6Fij71BnEMpqYjSSCtWjuA/EFms8=";
|
||||
hash = "sha256-aByzVPQADTNz5rVzmkNH/zk4u+RkWPcfk0sQhR3K2cQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -43,14 +40,12 @@ buildPythonApplication rec {
|
|||
cachecontrol
|
||||
cyclonedx-python-lib
|
||||
html5lib
|
||||
lockfile
|
||||
packaging
|
||||
pip-api
|
||||
pip-requirements-parser
|
||||
progress
|
||||
resolvelib
|
||||
rich
|
||||
];
|
||||
toml
|
||||
] ++ cachecontrol.optional-dependencies.filecache;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pretend
|
||||
|
@ -68,7 +63,6 @@ buildPythonApplication rec {
|
|||
disabledTestPaths = [
|
||||
# Tests require network access
|
||||
"test/dependency_source/test_requirement.py"
|
||||
"test/dependency_source/resolvelib/test_resolvelib.py"
|
||||
"test/service/test_pypi.py"
|
||||
"test/service/test_osv.py"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue