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 {
|
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" ];
|
||||||
}
|
}
|
||||||
|
|
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