From 674f02b2bb38a8d2f4fd2fe0d17007e69b48dc2f Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Fri, 27 May 2022 13:13:19 -0400 Subject: [PATCH] remove gef package --- pkgs/default.nix | 3 +-- pkgs/gef/default.nix | 34 ---------------------------------- pkgs/gef/requirements.txt | 8 -------- 3 files changed, 1 insertion(+), 44 deletions(-) delete mode 100644 pkgs/gef/default.nix delete mode 100644 pkgs/gef/requirements.txt diff --git a/pkgs/default.nix b/pkgs/default.nix index 8ace30e..46da614 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -11,10 +11,9 @@ rec bck-nerdfont = pkg ./bck-nerdfont.nix { }; binaryninja = pkg ./binary-ninja-personal { }; commander-x16 = pkg ./commander-x16 { }; - gef = pkg ./gef { }; mp4grep = pkg ./mp4grep.nix { }; msfpc = pkg ./msfpc { }; - security-toolbox = pkg ./security-toolbox { inherit gef msfpc webshells weevely security-wordlists; }; + security-toolbox = pkg ./security-toolbox { inherit msfpc webshells weevely security-wordlists; }; security-wordlists = pkg ./wordlists.nix { }; SpaceCadetPinball = pkg ./SpaceCadetPinball { }; stretchy-spaces = pkg ./stretchy-spaces { }; diff --git a/pkgs/gef/default.nix b/pkgs/gef/default.nix deleted file mode 100644 index c82064a..0000000 --- a/pkgs/gef/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, makeWrapper, gdb, python3 }: -let - - src = fetchFromGitHub { - owner = "hugsy"; - repo = "gef"; - rev = "2021.10"; - sha256 = "7kIR9lzKBb1rArb9l1Tu10RJ9uacifvy2EbkmrMFK2Y="; - }; - - reqs = lib.splitString "\n" (lib.fileContents (./. + "/requirements.txt")); - - # python3.pkgs.ropper does not work with makePythonPath. Swap it out. - pyp = python3.pkgs // { - ropper = python3.pkgs.buildPythonPackage { - inherit (python3.pkgs.ropper) name src propagatedBuildInputs; - }; - }; - - optionals = pyp.makePythonPath (map (x: pyp.${x}) reqs); - -in -stdenv.mkDerivation { - name = "gef"; - phases = [ "installPhase" ]; - buildInputs = [ makeWrapper ]; - installPhase = '' - mkdir -p "$out/bin" - makeWrapper "${gdb}/bin/gdb" "$out/bin/gef" \ - --suffix PYTHONPATH : "${optionals}" \ - --add-flags "-x ${src}/gef.py" - ''; - meta.platforms = [ "x86_64-linux" ]; -} diff --git a/pkgs/gef/requirements.txt b/pkgs/gef/requirements.txt deleted file mode 100644 index 22d4a56..0000000 --- a/pkgs/gef/requirements.txt +++ /dev/null @@ -1,8 +0,0 @@ -capstone -keystone-engine -pylint -ropper -unicorn -pytest -pytest-xdist -coverage