@@ -1,30 +1,34 @@
1−{ lib, fetchFromGitHub, coccinelle, gnugrep, python3Packages }:
2−
3−with python3Packages;
4−
5−buildPythonApplication rec {
1+{ lib
2+, fetchFromGitHub
3+, coccinelle
4+, gnugrep
5+, python3
6+}:
7+
8+python3.pkgs.buildPythonApplication rec {
69 pname = "cvehound";
7− version = "1.0.4";
10+ version = "1.0.9";
811
912 src = fetchFromGitHub {
1013 owner = "evdenis";
1114 repo = "cvehound";
1215 rev = version;
13− sha256 = "sha256-m8vpea02flQ8elSvGWv9FqBhsEcBzRYjcUk+dc4kb2M=";
16+ hash = "sha256-qwQfpelY1Air3wVQ3RziM/+MNOR3jiKmLpO2w6kXZwM=";
1417 };
1518
1619 makeWrapperArgs = [
1720 "--prefix PATH : ${lib.makeBinPath [ coccinelle gnugrep ]}"
1821 ];
1922
20− propagatedBuildInputs = [
21− psutil
23+ propagatedBuildInputs = with python3.pkgs; [
24+ lxml
2225 setuptools
2326 sympy
2427 ];
2528
26− checkInputs = [
29+ checkInputs = with python3.pkgs; [
2730 GitPython
31+ psutil
2832 pytestCheckHook
2933 ];
3034
@@ -32,10 +36,11 @@ buildPythonApplication rec {
3236 doCheck = false;
3337
3438 meta = with lib; {
35− description = "tool to check linux kernel source dump for known CVEs";
39+ description = "Tool to check linux kernel source dump for known CVEs";
3640 homepage = "https://github.com/evdenis/cvehound";
41+ changelog = "https://github.com/evdenis/cvehound/blob/${src.rev}/ChangeLog";
3742 # See https://github.com/evdenis/cvehound/issues/22
38− license = with licenses; [ gpl2Only gpl3Only ];
43+ license = with licenses; [ gpl2Only gpl3Plus ];
3944 maintainers = with maintainers; [ ambroisie ];
4045 };
4146}