fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{stdenv, fetchurl, pkgconfig, libusb, readline, lua, libewf, perl,
2gtk ? null, vte ? null, gtkdialog ? null,
3python ? null,
4ruby ? null,
5useX11, rubyBindings, pythonBindings, luaBindings}:
6
7assert useX11 -> (gtk != null && vte != null && gtkdialog != null);
8assert rubyBindings -> ruby != null;
9assert pythonBindings -> python != null;
10
11let
12 optional = stdenv.lib.optional;
13in
14stdenv.mkDerivation rec {
15 name = "radare-1.5.2";
16
17 src = fetchurl {
18 url = "http://radare.org/get/${name}.tar.gz";
19 sha256 = "1qdrmcnzfvfvqb27c7pknwm8jl2hqa6c4l66wzyddwlb8yjm46hd";
20 };
21
22
23 buildInputs = [pkgconfig readline libusb perl]
24 ++ optional useX11 [gtkdialog vte gtk]
25 ++ optional rubyBindings [ruby]
26 ++ optional pythonBindings [python]
27 ++ optional luaBindings [lua];
28
29 meta = {
30 description = "Free advanced command line hexadecimal editor";
31 homepage = http://radare.org/;
32 license = stdenv.lib.licenses.gpl2Plus;
33 maintainers = with stdenv.lib.maintainers; [viric];
34 platforms = with stdenv.lib.platforms; all;
35 };
36}