ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
30 lines
848 B
Nix
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;
|
|
};
|
|
}
|