Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenvNoCC, fetchFromGitHub, python3 }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "shellnoob"; 5 version = "unstable-2022-03-16"; 6 7 src = fetchFromGitHub { 8 owner = "reyammer"; 9 repo = pname; 10 rev = "72cf49804d8ea3de1faa7fae5794449301987bff"; 11 sha256 = "xF9OTFFe8godW4+z9MFaFEkjE9FB42bKWwdl9xRcmEo="; 12 }; 13 14 buildInputs = [ 15 python3 16 ]; 17 18 installPhase = '' 19 runHook preInstall 20 21 install -Dm755 shellnoob.py $out/bin/snoob 22 23 runHook postInstall 24 ''; 25 26 meta = with lib; { 27 description = "A shellcode writing toolkit"; 28 homepage = "https://github.com/reyammer/shellnoob"; 29 mainProgram = "snoob"; 30 license = licenses.mit; 31 maintainers = with maintainers; [ emilytrau ]; 32 }; 33}