gef: 2021.07 -> 2021.10

This commit is contained in:
Sean Buckley 2021-11-12 15:49:15 -05:00
parent 1f1cdcefbf
commit a414d5e340
2 changed files with 12 additions and 7 deletions

View file

@ -4,15 +4,11 @@ let
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hugsy"; owner = "hugsy";
repo = "gef"; repo = "gef";
rev = "2021.07"; rev = "2021.10";
sha256 = "zKn3yS9h8bzjsb/iPgNU8g5IgXFBaKvM7osTqzzv16s="; sha256 = "7kIR9lzKBb1rArb9l1Tu10RJ9uacifvy2EbkmrMFK2Y=";
}; };
# exclude broken libraries reqs = lib.splitString "\n" (lib.fileContents (./. + "/requirements.txt"));
reqs = builtins.filter (x: false == (builtins.elem x [ "capstone" "ropper" ]))
(builtins.filter (x: x != "")
(lib.splitString "\n"
(builtins.readFile "${src}/requirements.txt")));
# python3.pkgs.ropper does not work with makePythonPath. Swap it out. # python3.pkgs.ropper does not work with makePythonPath. Swap it out.
pyp = python3.pkgs // { pyp = python3.pkgs // {
@ -34,4 +30,5 @@ stdenv.mkDerivation {
--suffix PYTHONPATH : "${optionals}" \ --suffix PYTHONPATH : "${optionals}" \
--add-flags "-x ${src}/gef.py" --add-flags "-x ${src}/gef.py"
''; '';
meta.platforms = [ "x86_64-linux" ];
} }

View file

@ -0,0 +1,8 @@
capstone
keystone-engine
pylint
ropper
unicorn
pytest
pytest-xdist
coverage