depot/third_party/nixpkgs/pkgs/tools/security/linux-exploit-suggester/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

30 lines
848 B
Nix

{ lib, stdenvNoCC, fetchFromGitHub }:
stdenvNoCC.mkDerivation rec {
pname = "linux-exploit-suggester";
version = "unstable-2022-04-01";
src = fetchFromGitHub {
owner = "mzet-";
repo = pname;
rev = "54a5c01497d6655be88f6262ccad5bc5a5e4f4ec";
sha256 = "v0Q8O+aaXEqwWAwGP/u5Nkm4DzM6nM11GI4XbK2PeWM=";
};
installPhase = ''
runHook preInstall
install -Dm755 linux-exploit-suggester.sh $out/bin/${pname}
runHook postInstall
'';
meta = with lib; {
description = "Tool designed to assist in detecting security deficiencies for given Linux kernel/Linux-based machine";
mainProgram = "linux-exploit-suggester";
homepage = "https://github.com/mzet-/linux-exploit-suggester";
license = licenses.gpl3Only;
maintainers = with maintainers; [ emilytrau ];
platforms = platforms.linux;
};
}