pip-audit: refactor
This commit is contained in:
parent
3533c05bac
commit
501cb1c73e
@ -10,16 +10,16 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "trailofbits";
|
owner = "trailofbits";
|
||||||
repo = pname;
|
repo = "pip-audit";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-MRFfF5OygUCIdUnPvxhYk4IcLSWGgmlw2qgzPoZDniw=";
|
hash = "sha256-MRFfF5OygUCIdUnPvxhYk4IcLSWGgmlw2qgzPoZDniw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [
|
build-system = with python3.pkgs; [
|
||||||
flit-core
|
flit-core
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
dependencies = with python3.pkgs; [
|
||||||
cachecontrol
|
cachecontrol
|
||||||
cyclonedx-python-lib
|
cyclonedx-python-lib
|
||||||
html5lib
|
html5lib
|
||||||
@ -60,10 +60,10 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tool for scanning Python environments for known vulnerabilities";
|
description = "Tool for scanning Python environments for known vulnerabilities";
|
||||||
mainProgram = "pip-audit";
|
|
||||||
homepage = "https://github.com/trailofbits/pip-audit";
|
homepage = "https://github.com/trailofbits/pip-audit";
|
||||||
changelog = "https://github.com/pypa/pip-audit/releases/tag/v${version}";
|
changelog = "https://github.com/pypa/pip-audit/releases/tag/v${version}";
|
||||||
license = with licenses; [ asl20 ];
|
license = with licenses; [ asl20 ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
|
mainProgram = "pip-audit";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user