It seems like the package name was inadvertently set to the source revision, probably when manually bumping the version.
35 lines
907 B
Nix
35 lines
907 B
Nix
{
|
|
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";
|
|
};
|
|
}
|