nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 731 B view raw
1{ 2 lib, 3 stdenvNoCC, 4 fetchFromGitHub, 5 python3, 6}: 7 8stdenvNoCC.mkDerivation { 9 pname = "shellnoob"; 10 version = "unstable-2022-03-16"; 11 12 src = fetchFromGitHub { 13 owner = "reyammer"; 14 repo = "shellnoob"; 15 rev = "72cf49804d8ea3de1faa7fae5794449301987bff"; 16 sha256 = "xF9OTFFe8godW4+z9MFaFEkjE9FB42bKWwdl9xRcmEo="; 17 }; 18 19 buildInputs = [ 20 python3 21 ]; 22 23 installPhase = '' 24 runHook preInstall 25 26 install -Dm755 shellnoob.py $out/bin/snoob 27 28 runHook postInstall 29 ''; 30 31 meta = { 32 description = "Shellcode writing toolkit"; 33 homepage = "https://github.com/reyammer/shellnoob"; 34 mainProgram = "snoob"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ emilytrau ]; 37 }; 38}