From 1f5c851967fe3365804b6e61f72f1738e00baf99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 3 Dec 2018 22:26:36 +0000 Subject: [PATCH] radare: remove This project has been deprecated in 2016. Radare2 should been used intead: https://github.com/radare/radare --- .../tools/analysis/radare/default.nix | 38 ------------------- .../tools/analysis/radare/ired.nix | 22 ----------- pkgs/top-level/all-packages.nix | 11 ------ 3 files changed, 71 deletions(-) delete mode 100644 pkgs/development/tools/analysis/radare/default.nix delete mode 100644 pkgs/development/tools/analysis/radare/ired.nix diff --git a/pkgs/development/tools/analysis/radare/default.nix b/pkgs/development/tools/analysis/radare/default.nix deleted file mode 100644 index b9b9b8abfb92..000000000000 --- a/pkgs/development/tools/analysis/radare/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{stdenv, fetchurl, pkgconfig, libusb, readline, lua, perl, -gtk2 ? null, vte ? null, gtkdialog ? null, -python ? null, -ruby ? null, -useX11, rubyBindings, pythonBindings, luaBindings}: - -assert useX11 -> (gtk2 != null && vte != null && gtkdialog != null); -assert rubyBindings -> ruby != null; -assert pythonBindings -> python != null; - -let - inherit (stdenv.lib) optional; -in -stdenv.mkDerivation rec { - name = "radare-1.5.2"; - - src = fetchurl { - url = "https://radare.org/get/${name}.tar.gz"; - sha256 = "1qdrmcnzfvfvqb27c7pknwm8jl2hqa6c4l66wzyddwlb8yjm46hd"; - }; - - hardeningDisable = [ "format" ]; - - nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ readline libusb perl] - ++ optional useX11 [gtkdialog vte gtk2] - ++ optional rubyBindings [ruby] - ++ optional pythonBindings [python] - ++ optional luaBindings [lua]; - - meta = { - description = "Free advanced command line hexadecimal editor"; - homepage = http://radare.org/; - license = stdenv.lib.licenses.gpl2Plus; - maintainers = with stdenv.lib.maintainers; [viric]; - platforms = with stdenv.lib.platforms; linux; - }; -} diff --git a/pkgs/development/tools/analysis/radare/ired.nix b/pkgs/development/tools/analysis/radare/ired.nix deleted file mode 100644 index aec13296bdaa..000000000000 --- a/pkgs/development/tools/analysis/radare/ired.nix +++ /dev/null @@ -1,22 +0,0 @@ -{stdenv, fetchurl}: - -stdenv.mkDerivation rec { - name = "ired-0.4"; - - src = fetchurl { - url = "https://radare.org/get/${name}.tar.gz"; - sha256 = "0wya1ylc6adqg4qw5fi8aspc5d1yr27x9r2vpy133qxzia9qv3mm"; - }; - - installPhase = '' - make install PREFIX=$out - ''; - - meta = { - description = "Interactive Raw Editor"; - homepage = http://radare.org/; - license = stdenv.lib.licenses.gpl2Plus; - maintainers = with stdenv.lib.maintainers; [viric]; - platforms = with stdenv.lib.platforms; all; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c43db49ad8b6..5ef3d430b137 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8657,8 +8657,6 @@ in iozone = callPackage ../development/tools/misc/iozone { }; - ired = callPackage ../development/tools/analysis/radare/ired.nix { }; - itstool = callPackage ../development/tools/misc/itstool { }; jam = callPackage ../development/tools/build-managers/jam { }; @@ -8874,15 +8872,6 @@ in r10k = callPackage ../tools/system/r10k { }; - radare = callPackage ../development/tools/analysis/radare { - inherit (gnome2) vte; - lua = lua5; - useX11 = config.radare.useX11 or false; - pythonBindings = config.radare.pythonBindings or false; - rubyBindings = config.radare.rubyBindings or false; - luaBindings = config.radare.luaBindings or false; - }; - inherit (callPackages ../development/tools/analysis/radare2 { inherit (gnome2) vte; lua = lua5;