biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / security / shellnoob / default.nix
blobef9488239bd066637bb3d88a6f190d40cf12466a
1 { lib, stdenvNoCC, fetchFromGitHub, python3 }:
3 stdenvNoCC.mkDerivation rec {
4   pname = "shellnoob";
5   version = "unstable-2022-03-16";
7   src = fetchFromGitHub {
8     owner = "reyammer";
9     repo = pname;
10     rev = "72cf49804d8ea3de1faa7fae5794449301987bff";
11     sha256 = "xF9OTFFe8godW4+z9MFaFEkjE9FB42bKWwdl9xRcmEo=";
12   };
14   buildInputs = [
15     python3
16   ];
18   installPhase = ''
19     runHook preInstall
21     install -Dm755 shellnoob.py $out/bin/snoob
23     runHook postInstall
24   '';
26   meta = with lib; {
27     description = "Shellcode writing toolkit";
28     homepage = "https://github.com/reyammer/shellnoob";
29     mainProgram = "snoob";
30     license = licenses.mit;
31     maintainers = with maintainers; [ emilytrau ];
32   };