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 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + python3, 4 5 }: 5 6 6 7 python3.pkgs.buildPythonApplication rec { 7 8 pname = "pip-audit"; 8 - version = "2.7.2"; 9 + version = "2.7.3"; 9 10 format = "pyproject"; 10 11 11 12 src = fetchFromGitHub { 12 13 owner = "trailofbits"; 13 - repo = pname; 14 + repo = "pip-audit"; 14 15 rev = "refs/tags/v${version}"; 15 - hash = "sha256-IlIPLuHGmnmt6FgX+Psw+f6XpkuhP+BZ+e4k4DV8e/U="; 16 + hash = "sha256-MRFfF5OygUCIdUnPvxhYk4IcLSWGgmlw2qgzPoZDniw="; 16 17 }; 17 18 18 - nativeBuildInputs = with python3.pkgs; [ 19 - flit-core 20 - ]; 19 + build-system = with python3.pkgs; [ flit-core ]; 21 20 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; 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; 32 34 33 35 nativeCheckInputs = with python3.pkgs; [ 34 36 pretend 35 37 pytestCheckHook 36 38 ]; 37 39 38 - pythonImportsCheck = [ 39 - "pip_audit" 40 - ]; 40 + pythonImportsCheck = [ "pip_audit" ]; 41 41 42 42 preCheck = '' 43 43 export HOME=$(mktemp -d); ··· 60 60 61 61 meta = with lib; { 62 62 description = "Tool for scanning Python environments for known vulnerabilities"; 63 - mainProgram = "pip-audit"; 64 63 homepage = "https://github.com/trailofbits/pip-audit"; 65 64 changelog = "https://github.com/pypa/pip-audit/releases/tag/v${version}"; 66 65 license = with licenses; [ asl20 ]; 67 66 maintainers = with maintainers; [ fab ]; 67 + mainProgram = "pip-audit"; 68 68 }; 69 69 }