biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / security / linux-exploit-suggester / default.nix
blobed68e8e7c7a3345809c668b39b7daf62e04b1178
1 { lib, stdenvNoCC, fetchFromGitHub }:
3 stdenvNoCC.mkDerivation rec {
4   pname = "linux-exploit-suggester";
5   version = "unstable-2022-04-01";
7   src = fetchFromGitHub {
8     owner = "mzet-";
9     repo = pname;
10     rev = "54a5c01497d6655be88f6262ccad5bc5a5e4f4ec";
11     sha256 = "v0Q8O+aaXEqwWAwGP/u5Nkm4DzM6nM11GI4XbK2PeWM=";
12   };
14   installPhase = ''
15     runHook preInstall
17     install -Dm755 linux-exploit-suggester.sh $out/bin/${pname}
19     runHook postInstall
20   '';
22   meta = with lib; {
23     description = "Tool designed to assist in detecting security deficiencies for given Linux kernel/Linux-based machine";
24     mainProgram = "linux-exploit-suggester";
25     homepage = "https://github.com/mzet-/linux-exploit-suggester";
26     license = licenses.gpl3Only;
27     maintainers = with maintainers; [ emilytrau ];
28     platforms = platforms.linux;
29   };