diff --git a/pkgs/development/tools/analysis/radare/default.nix b/pkgs/development/tools/analysis/radare/default.nix new file mode 100644 index 000000000000..db83ade8fd45 --- /dev/null +++ b/pkgs/development/tools/analysis/radare/default.nix @@ -0,0 +1,20 @@ +{stdenv, fetchurl, pkgconfig, gtk, libusb, readline, lua, gtkdialog, + python, ruby, libewf, vte}: + +stdenv.mkDerivation { + name = "radare-1.2.2"; + + src = fetchurl { + url = http://radare.org/get/radare-1.2.2.tar.gz; + sha256 = "0624ic97s1b70ijbr16b33p76mls8rziqwla6bq29l554dh2hfn4"; + }; + + buildInputs = [pkgconfig gtk readline libusb lua gtkdialog python + ruby libewf vte]; + + meta = { + description = "Free advanced command line hexadecimal editor"; + homepage = http://radare.org/; + license = "GPLv2+"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d8bd746d94cf..15fc21876376 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2604,6 +2604,14 @@ let inherit fetchurl stdenv; }); + radare = import ../development/tools/analysis/radare { + inherit stdenv fetchurl pkgconfig libusb readline gtkdialog python + ruby libewf; + inherit (gtkLibs) gtk; + inherit (gnome) vte; + lua = lua5; + }; + ragel = import ../development/tools/parsing/ragel { inherit composableDerivation fetchurl transfig texLive; };