summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2022-04-27 20:26:02 +0000
committerRobert Schütz <github@dotlambda.de>2022-05-02 23:58:46 +0000
commitd770c33587d1ad73b0959c88479439c4aaa1dd90 (patch)
tree106d26376a99a23a5802da01b1adf3e17a84b95a
parent114ea5a07eb9448ee64ddb20175befa7e778e41b (diff)
cvehound: 1.0.4 -> 1.0.9
https://github.com/evdenis/cvehound/blob/1.0.9/ChangeLog
-rw-r--r--pkgs/development/tools/analysis/cvehound/default.nix29
1 files changed, 17 insertions, 12 deletions
diff --git a/pkgs/development/tools/analysis/cvehound/default.nix b/pkgs/development/tools/analysis/cvehound/default.nix
index 05073bba750d..3fe3c043c238 100644
--- a/pkgs/development/tools/analysis/cvehound/default.nix
+++ b/pkgs/development/tools/analysis/cvehound/default.nix
@@ -1,30 +1,34 @@
-{ lib, fetchFromGitHub, coccinelle, gnugrep, python3Packages }:
-
-with python3Packages;
-
-buildPythonApplication rec {
+{ lib
+, fetchFromGitHub
+, coccinelle
+, gnugrep
+, python3
+}:
+
+python3.pkgs.buildPythonApplication rec {
pname = "cvehound";
- version = "1.0.4";
+ version = "1.0.9";
src = fetchFromGitHub {
owner = "evdenis";
repo = "cvehound";
rev = version;
- sha256 = "sha256-m8vpea02flQ8elSvGWv9FqBhsEcBzRYjcUk+dc4kb2M=";
+ hash = "sha256-qwQfpelY1Air3wVQ3RziM/+MNOR3jiKmLpO2w6kXZwM=";
};
makeWrapperArgs = [
"--prefix PATH : ${lib.makeBinPath [ coccinelle gnugrep ]}"
];
- propagatedBuildInputs = [
- psutil
+ propagatedBuildInputs = with python3.pkgs; [
+ lxml
setuptools
sympy
];
- checkInputs = [
+ checkInputs = with python3.pkgs; [
GitPython
+ psutil
pytestCheckHook
];
@@ -32,10 +36,11 @@ buildPythonApplication rec {
doCheck = false;
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";
+ changelog = "https://github.com/evdenis/cvehound/blob/${src.rev}/ChangeLog";
# See https://github.com/evdenis/cvehound/issues/22
- license = with licenses; [ gpl2Only gpl3Only ];
+ license = with licenses; [ gpl2Only gpl3Plus ];
maintainers = with maintainers; [ ambroisie ];
};
}