git.iko.soy/typeable/nixpkgs
on master help sign in
cvehound: init at 1.0.4
commitfb1081ffa79c779becf9de46a6897aa1f1044043 authorBruno BELANYI <bruno@belanyi.fr> dateThu 23 Sep 2021, 13:42 (5 years ago) parentf44ece5
2 files changed+43
pkgs/development/tools/analysis/cvehound/default.nix+41 pkgs/top-level/all-packages.nix+2
pkgs/development/tools/analysis/cvehound/default.nixnew file+41
@@ -0,0 +1,41 @@
1+{ lib, fetchFromGitHub, coccinelle, gnugrep, python3Packages }:
2+
3+with python3Packages;
4+
5+buildPythonApplication rec {
6+ pname = "cvehound";
7+ version = "1.0.4";
8+
9+ src = fetchFromGitHub {
10+ owner = "evdenis";
11+ repo = "cvehound";
12+ rev = version;
13+ sha256 = "sha256-m8vpea02flQ8elSvGWv9FqBhsEcBzRYjcUk+dc4kb2M=";
14+ };
15+
16+ makeWrapperArgs = [
17+ "--prefix PATH : ${lib.makeBinPath [ coccinelle gnugrep ]}"
18+ ];
19+
20+ propagatedBuildInputs = [
21+ psutil
22+ setuptools
23+ sympy
24+ ];
25+
26+ checkInputs = [
27+ GitPython
28+ pytestCheckHook
29+ ];
30+
31+ # Tries to clone the kernel sources
32+ doCheck = false;
33+
34+ meta = with lib; {
35+ description = "tool to check linux kernel source dump for known CVEs";
36+ homepage = "https://github.com/evdenis/cvehound";
37+ # See https://github.com/evdenis/cvehound/issues/22
38+ license = with licenses; [ gpl2Only gpl3Only ];
39+ maintainers = with maintainers; [ ambroisie ];
40+ };
41+}
pkgs/top-level/all-packages.nix+2
@@ -13796,6 +13796,8 @@ with pkgs;
1379613796
1379713797 css-html-js-minify = with python3Packages; toPythonApplication css-html-js-minify;
1379813798
13799+ cvehound = callPackage ../development/tools/analysis/cvehound { };
13800+
1379913801 cvise = python3Packages.callPackage ../development/tools/misc/cvise {
1380013802 inherit (llvmPackages_11) llvm libclang;
1380113803 };