mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
30 lines
803 B
Nix
30 lines
803 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";
|
|
homepage = "https://github.com/mzet-/linux-exploit-suggester";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ emilytrau ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|