pip-audit: refactor

This commit is contained in:
Fabian Affolter 2024-05-01 08:45:55 +02:00
parent 3533c05bac
commit 501cb1c73e

View File

@ -10,16 +10,16 @@ python3.pkgs.buildPythonApplication rec {
src = fetchFromGitHub {
owner = "trailofbits";
repo = pname;
repo = "pip-audit";
rev = "refs/tags/v${version}";
hash = "sha256-MRFfF5OygUCIdUnPvxhYk4IcLSWGgmlw2qgzPoZDniw=";
};
nativeBuildInputs = with python3.pkgs; [
build-system = with python3.pkgs; [
flit-core
];
propagatedBuildInputs = with python3.pkgs; [
dependencies = with python3.pkgs; [
cachecontrol
cyclonedx-python-lib
html5lib
@ -60,10 +60,10 @@ python3.pkgs.buildPythonApplication rec {
meta = with lib; {
description = "Tool for scanning Python environments for known vulnerabilities";
mainProgram = "pip-audit";
homepage = "https://github.com/trailofbits/pip-audit";
changelog = "https://github.com/pypa/pip-audit/releases/tag/v${version}";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
mainProgram = "pip-audit";
};
}