diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-04-21 21:31:08 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-04-21 21:31:08 +0000 |
commit | 672890153e38829445ffff99833e25d2ee7f220f (patch) | |
tree | 6f91b0a685406776397e9ddb701c5e4bce035144 /pkgs/development/tools/analysis | |
parent | d2067c300fcc0bd147e17785ca51110b0282466d (diff) |
Fixing lua and perl for radare.
svn path=/nixpkgs/trunk/; revision=15230
Diffstat (limited to 'pkgs/development/tools/analysis')
-rw-r--r-- | pkgs/development/tools/analysis/radare/default.nix | 6 | ||||
-rw-r--r-- | pkgs/development/tools/analysis/radare/lua.patch | 12 |
2 files changed, 16 insertions, 2 deletions
diff --git a/pkgs/development/tools/analysis/radare/default.nix b/pkgs/development/tools/analysis/radare/default.nix index db83ade8fd45b..083e32c2eb9ed 100644 --- a/pkgs/development/tools/analysis/radare/default.nix +++ b/pkgs/development/tools/analysis/radare/default.nix @@ -1,5 +1,5 @@ {stdenv, fetchurl, pkgconfig, gtk, libusb, readline, lua, gtkdialog, - python, ruby, libewf, vte}: + python, ruby, libewf, vte, perl}: stdenv.mkDerivation { name = "radare-1.2.2"; @@ -9,8 +9,10 @@ stdenv.mkDerivation { sha256 = "0624ic97s1b70ijbr16b33p76mls8rziqwla6bq29l554dh2hfn4"; }; + patches = [ ./lua.patch ]; + buildInputs = [pkgconfig gtk readline libusb lua gtkdialog python - ruby libewf vte]; + ruby libewf vte perl]; meta = { description = "Free advanced command line hexadecimal editor"; diff --git a/pkgs/development/tools/analysis/radare/lua.patch b/pkgs/development/tools/analysis/radare/lua.patch new file mode 100644 index 0000000000000..3a2ca0d505d46 --- /dev/null +++ b/pkgs/development/tools/analysis/radare/lua.patch @@ -0,0 +1,12 @@ +diff --git a/src/plug/hack/Makefile b/src/plug/hack/Makefile +index b05d8dd..d6c73f9 100644 +--- a/src/plug/hack/Makefile ++++ b/src/plug/hack/Makefile +@@ -7,7 +7,6 @@ PERL_LIBS=`perl -MExtUtils::Embed -e ldopts` -lncurses + PY_CFLAGS=-I${PREFIX}/include/python2.5/ -I/usr/include/python2.5/ + PY_LIBS=-lpython2.5 + LUA_CFLAGS=-I${PREFIX}/include/lua5.1/ -I/usr/include/lua5.1/ +-LUA_LIBS= + RUBY_CFLAGS=-I/usr/lib/ruby/1.8/i386-linux + RUBY_LIBS=-lruby18 + SO=${SHARED_EXT} |