radare2: 2.0.1 -> 2.1.0
* drop patch, now included
* drop r2-docker/r2-indent fixups, no longer installed
(see a09d6dae92
)
This commit is contained in:
parent
601c895bc1
commit
5ad30374e9
@ -13,24 +13,16 @@ let
|
|||||||
inherit (stdenv.lib) optional;
|
inherit (stdenv.lib) optional;
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.0.1";
|
version = "2.1.0";
|
||||||
name = "radare2-${version}";
|
name = "radare2-${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "radare";
|
owner = "radare";
|
||||||
repo = "radare2";
|
repo = "radare2";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "031ndvinsypagpkdszxjq0hj91ijq9zx4dzk53sz7il7s3zn65c7";
|
sha256 = "1mny0iw2dgszvvx0yb0z5vlygz4f3jblzi9byybczm8wdqs1vhb1";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
name = "CVE-2017-15385.patch";
|
|
||||||
url = https://github.com/radare/radare2/commit/21a6f570ba33fa9f52f1bba87f07acc4e8c178f4.patch;
|
|
||||||
sha256 = "19qg5j9yr5r62nrq2b6mscxsz0wyyfah2z5jz8dvj9kqxq186d43";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = let
|
postPatch = let
|
||||||
cs_ver = "3.0.4"; # version from $sourceRoot/shlr/Makefile
|
cs_ver = "3.0.4"; # version from $sourceRoot/shlr/Makefile
|
||||||
capstone = fetchurl {
|
capstone = fetchurl {
|
||||||
@ -51,13 +43,6 @@ stdenv.mkDerivation rec {
|
|||||||
++ optional pythonBindings [python]
|
++ optional pythonBindings [python]
|
||||||
++ optional luaBindings [lua];
|
++ optional luaBindings [lua];
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
# replace symlinks pointing into the build directory with the files they point to
|
|
||||||
rm $out/bin/{r2-docker,r2-indent}
|
|
||||||
cp sys/r2-docker.sh $out/bin/r2-docker
|
|
||||||
cp sys/indent.sh $out/bin/r2-indent
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "unix-like reverse engineering framework and commandline tools";
|
description = "unix-like reverse engineering framework and commandline tools";
|
||||||
homepage = http://radare.org/;
|
homepage = http://radare.org/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user