Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenvNoCC, fetchFromGitHub }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "linux-exploit-suggester"; 5 version = "unstable-2022-04-01"; 6 7 src = fetchFromGitHub { 8 owner = "mzet-"; 9 repo = pname; 10 rev = "54a5c01497d6655be88f6262ccad5bc5a5e4f4ec"; 11 sha256 = "v0Q8O+aaXEqwWAwGP/u5Nkm4DzM6nM11GI4XbK2PeWM="; 12 }; 13 14 installPhase = '' 15 runHook preInstall 16 17 install -Dm755 linux-exploit-suggester.sh $out/bin/${pname} 18 19 runHook postInstall 20 ''; 21 22 meta = with lib; { 23 description = "Tool designed to assist in detecting security deficiencies for given Linux kernel/Linux-based machine"; 24 homepage = "https://github.com/mzet-/linux-exploit-suggester"; 25 license = licenses.gpl3Only; 26 maintainers = with maintainers; [ emilytrau ]; 27 platforms = platforms.linux; 28 }; 29}