about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-04-21 19:47:51 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-04-21 19:47:51 +0000
commit233cf7478157868e9566a64e06c7906b598606c2 (patch)
treeb42c05efdf4f997e9ebbfb7619e1e00d11533dbf /pkgs
parent1b3ee8bf6c85f5d6a49ecf988ef85a6f84d716c7 (diff)
Adding radare
svn path=/nixpkgs/trunk/; revision=15226
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/tools/analysis/radare/default.nix20
-rw-r--r--pkgs/top-level/all-packages.nix8
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/tools/analysis/radare/default.nix b/pkgs/development/tools/analysis/radare/default.nix
new file mode 100644
index 0000000000000..db83ade8fd45b
--- /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 d8bd746d94cfd..15fc21876376d 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;
   };