mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
gef: 2021.07 -> 2021.10
This commit is contained in:
parent
1f1cdcefbf
commit
a414d5e340
2 changed files with 12 additions and 7 deletions
|
@ -4,15 +4,11 @@ let
|
|||
src = fetchFromGitHub {
|
||||
owner = "hugsy";
|
||||
repo = "gef";
|
||||
rev = "2021.07";
|
||||
sha256 = "zKn3yS9h8bzjsb/iPgNU8g5IgXFBaKvM7osTqzzv16s=";
|
||||
rev = "2021.10";
|
||||
sha256 = "7kIR9lzKBb1rArb9l1Tu10RJ9uacifvy2EbkmrMFK2Y=";
|
||||
};
|
||||
|
||||
# exclude broken libraries
|
||||
reqs = builtins.filter (x: false == (builtins.elem x [ "capstone" "ropper" ]))
|
||||
(builtins.filter (x: x != "")
|
||||
(lib.splitString "\n"
|
||||
(builtins.readFile "${src}/requirements.txt")));
|
||||
reqs = lib.splitString "\n" (lib.fileContents (./. + "/requirements.txt"));
|
||||
|
||||
# python3.pkgs.ropper does not work with makePythonPath. Swap it out.
|
||||
pyp = python3.pkgs // {
|
||||
|
@ -34,4 +30,5 @@ stdenv.mkDerivation {
|
|||
--suffix PYTHONPATH : "${optionals}" \
|
||||
--add-flags "-x ${src}/gef.py"
|
||||
'';
|
||||
meta.platforms = [ "x86_64-linux" ];
|
||||
}
|
||||
|
|
8
pkgs/gef/requirements.txt
Normal file
8
pkgs/gef/requirements.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
capstone
|
||||
keystone-engine
|
||||
pylint
|
||||
ropper
|
||||
unicorn
|
||||
pytest
|
||||
pytest-xdist
|
||||
coverage
|
Loading…
Reference in a new issue