mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
remove gef package
This commit is contained in:
parent
beaac7ed09
commit
674f02b2bb
3 changed files with 1 additions and 44 deletions
|
@ -11,10 +11,9 @@ rec
|
||||||
bck-nerdfont = pkg ./bck-nerdfont.nix { };
|
bck-nerdfont = pkg ./bck-nerdfont.nix { };
|
||||||
binaryninja = pkg ./binary-ninja-personal { };
|
binaryninja = pkg ./binary-ninja-personal { };
|
||||||
commander-x16 = pkg ./commander-x16 { };
|
commander-x16 = pkg ./commander-x16 { };
|
||||||
gef = pkg ./gef { };
|
|
||||||
mp4grep = pkg ./mp4grep.nix { };
|
mp4grep = pkg ./mp4grep.nix { };
|
||||||
msfpc = pkg ./msfpc { };
|
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 { };
|
security-wordlists = pkg ./wordlists.nix { };
|
||||||
SpaceCadetPinball = pkg ./SpaceCadetPinball { };
|
SpaceCadetPinball = pkg ./SpaceCadetPinball { };
|
||||||
stretchy-spaces = pkg ./stretchy-spaces { };
|
stretchy-spaces = pkg ./stretchy-spaces { };
|
||||||
|
|
|
@ -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" ];
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
capstone
|
|
||||||
keystone-engine
|
|
||||||
pylint
|
|
||||||
ropper
|
|
||||||
unicorn
|
|
||||||
pytest
|
|
||||||
pytest-xdist
|
|
||||||
coverage
|
|
Loading…
Reference in a new issue