Merge pull request #308184 from fabaff/pip-audit-bump

pip-audit: 2.7.2 -> 2.7.3

authored by Fabian Affolter and committed by GitHub fcfd934f 36473211

+23 -23
+23 -23
pkgs/development/tools/pip-audit/default.nix
··· 1 - { lib 2 - , fetchFromGitHub 3 - , python3 4 }: 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "pip-audit"; 8 - version = "2.7.2"; 9 format = "pyproject"; 10 11 src = fetchFromGitHub { 12 owner = "trailofbits"; 13 - repo = pname; 14 rev = "refs/tags/v${version}"; 15 - hash = "sha256-IlIPLuHGmnmt6FgX+Psw+f6XpkuhP+BZ+e4k4DV8e/U="; 16 }; 17 18 - nativeBuildInputs = with python3.pkgs; [ 19 - flit-core 20 - ]; 21 22 - propagatedBuildInputs = with python3.pkgs; [ 23 - cachecontrol 24 - cyclonedx-python-lib 25 - html5lib 26 - packaging 27 - pip-api 28 - pip-requirements-parser 29 - rich 30 - toml 31 - ] ++ cachecontrol.optional-dependencies.filecache; 32 33 nativeCheckInputs = with python3.pkgs; [ 34 pretend 35 pytestCheckHook 36 ]; 37 38 - pythonImportsCheck = [ 39 - "pip_audit" 40 - ]; 41 42 preCheck = '' 43 export HOME=$(mktemp -d); ··· 60 61 meta = with lib; { 62 description = "Tool for scanning Python environments for known vulnerabilities"; 63 - mainProgram = "pip-audit"; 64 homepage = "https://github.com/trailofbits/pip-audit"; 65 changelog = "https://github.com/pypa/pip-audit/releases/tag/v${version}"; 66 license = with licenses; [ asl20 ]; 67 maintainers = with maintainers; [ fab ]; 68 }; 69 }
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + python3, 5 }: 6 7 python3.pkgs.buildPythonApplication rec { 8 pname = "pip-audit"; 9 + version = "2.7.3"; 10 format = "pyproject"; 11 12 src = fetchFromGitHub { 13 owner = "trailofbits"; 14 + repo = "pip-audit"; 15 rev = "refs/tags/v${version}"; 16 + hash = "sha256-MRFfF5OygUCIdUnPvxhYk4IcLSWGgmlw2qgzPoZDniw="; 17 }; 18 19 + build-system = with python3.pkgs; [ flit-core ]; 20 21 + dependencies = 22 + with python3.pkgs; 23 + [ 24 + cachecontrol 25 + cyclonedx-python-lib 26 + html5lib 27 + packaging 28 + pip-api 29 + pip-requirements-parser 30 + rich 31 + toml 32 + ] 33 + ++ cachecontrol.optional-dependencies.filecache; 34 35 nativeCheckInputs = with python3.pkgs; [ 36 pretend 37 pytestCheckHook 38 ]; 39 40 + pythonImportsCheck = [ "pip_audit" ]; 41 42 preCheck = '' 43 export HOME=$(mktemp -d); ··· 60 61 meta = with lib; { 62 description = "Tool for scanning Python environments for known vulnerabilities"; 63 homepage = "https://github.com/trailofbits/pip-audit"; 64 changelog = "https://github.com/pypa/pip-audit/releases/tag/v${version}"; 65 license = with licenses; [ asl20 ]; 66 maintainers = with maintainers; [ fab ]; 67 + mainProgram = "pip-audit"; 68 }; 69 }