pip-audit: refactor
This commit is contained in:
parent
3533c05bac
commit
501cb1c73e
@ -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";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user