summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/li/linux-exploit-suggester/package.nix
blob: 5d4dc62fe7828e47f354c980dada4b9764a68420 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  lib,
  stdenvNoCC,
  fetchFromGitHub,
}:

stdenvNoCC.mkDerivation {
  pname = "linux-exploit-suggester";
  version = "1.2-unstable-2026-03-20";

  src = fetchFromGitHub {
    owner = "The-Z-Labs";
    repo = "linux-exploit-suggester";
    rev = "937cf955501fe7da85994c98f0ca6151194e7c1d";
    hash = "sha256-a6SS1GS0qc1BW0w9Er8LA7K4pRMYnfHtmjUNwBF5Gtg=";
  };

  installPhase = ''
    runHook preInstall

    install -Dm755 linux-exploit-suggester.sh $out/bin/linux-exploit-suggester

    runHook postInstall
  '';

  meta = {
    description = "Tool designed to assist in detecting security deficiencies for given Linux kernel/Linux-based machine";
    homepage = "https://github.com/The-Z-Labs/linux-exploit-suggester";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ emilytrau ];
    platforms = lib.platforms.linux;
    mainProgram = "linux-exploit-suggester";
  };
}