cvehound: 1.0.4 -> 1.0.9

https://github.com/evdenis/cvehound/blob/1.0.9/ChangeLog
This commit is contained in:
Robert Schütz 2022-04-27 20:26:02 +00:00 committed by Robert Schütz
parent 114ea5a07e
commit d770c33587

View file

@ -1,30 +1,34 @@
{ lib, fetchFromGitHub, coccinelle, gnugrep, python3Packages }: { lib
, fetchFromGitHub
, coccinelle
, gnugrep
, python3
}:
with python3Packages; python3.pkgs.buildPythonApplication rec {
buildPythonApplication rec {
pname = "cvehound"; pname = "cvehound";
version = "1.0.4"; version = "1.0.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "evdenis"; owner = "evdenis";
repo = "cvehound"; repo = "cvehound";
rev = version; rev = version;
sha256 = "sha256-m8vpea02flQ8elSvGWv9FqBhsEcBzRYjcUk+dc4kb2M="; hash = "sha256-qwQfpelY1Air3wVQ3RziM/+MNOR3jiKmLpO2w6kXZwM=";
}; };
makeWrapperArgs = [ makeWrapperArgs = [
"--prefix PATH : ${lib.makeBinPath [ coccinelle gnugrep ]}" "--prefix PATH : ${lib.makeBinPath [ coccinelle gnugrep ]}"
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = with python3.pkgs; [
psutil lxml
setuptools setuptools
sympy sympy
]; ];
checkInputs = [ checkInputs = with python3.pkgs; [
GitPython GitPython
psutil
pytestCheckHook pytestCheckHook
]; ];
@ -32,10 +36,11 @@ buildPythonApplication rec {
doCheck = false; doCheck = false;
meta = with lib; { meta = with lib; {
description = "tool to check linux kernel source dump for known CVEs"; description = "Tool to check linux kernel source dump for known CVEs";
homepage = "https://github.com/evdenis/cvehound"; homepage = "https://github.com/evdenis/cvehound";
changelog = "https://github.com/evdenis/cvehound/blob/${src.rev}/ChangeLog";
# See https://github.com/evdenis/cvehound/issues/22 # See https://github.com/evdenis/cvehound/issues/22
license = with licenses; [ gpl2Only gpl3Only ]; license = with licenses; [ gpl2Only gpl3Plus ];
maintainers = with maintainers; [ ambroisie ]; maintainers = with maintainers; [ ambroisie ];
}; };
} }