From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:56450) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hosO0-0001u5-2M for guix-patches@gnu.org; Sat, 20 Jul 2019 12:39:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hosNy-0007xK-Rm for guix-patches@gnu.org; Sat, 20 Jul 2019 12:39:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49029) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hosNy-0007x6-Oc for guix-patches@gnu.org; Sat, 20 Jul 2019 12:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hosNy-0006HO-Kh for guix-patches@gnu.org; Sat, 20 Jul 2019 12:39:02 -0400 Subject: [bug#36744] [PATCH 1/1] gnu: Add cutter. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:56342) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hosNg-0001XZ-Oy for guix-patches@gnu.org; Sat, 20 Jul 2019 12:38:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hosNf-0007eS-IB for guix-patches@gnu.org; Sat, 20 Jul 2019 12:38:44 -0400 Received: from mx1.riseup.net ([198.252.153.129]:60212) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hosNf-0007dM-6P for guix-patches@gnu.org; Sat, 20 Jul 2019 12:38:43 -0400 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id B38AA1A0A8C for ; Sat, 20 Jul 2019 09:38:41 -0700 (PDT) From: "Jovany Leandro G.C" Date: Sat, 20 Jul 2019 06:30:22 -0500 Message-Id: <20190720113022.12919-1-bit4bit@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36744@debbugs.gnu.org Cc: "Jovany Leandro G.C" * gnu/packages/engineering.scm (cutter): New variable. --- gnu/packages/engineering.scm | 46 ++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 7d48414889..3b32f8f0e2 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -11,6 +11,7 @@ ;;; Copyright =C2=A9 2018, 2019 Jonathan Brielmaier ;;; Copyright =C2=A9 2018, 2019 Arun Isaac ;;; Copyright =C2=A9 2019 Tim Stahel +;;; Copyright =C2=A9 2019 Jovany Leandro G.C ;;; ;;; This file is part of GNU Guix. ;;; @@ -2062,3 +2063,48 @@ purpose circuit simulator and can perform DC and t= ransient analyses, fourier analysis and AC analysis. The engine is designed to do true mixed-mode simulation.") (license license:gpl3+))) + +(define-public cutter + (package + (name "cutter") + (version "1.8.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/radareorg/cutter/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1nhzwqavb156bqxk723i6an6iaagm3hs7642ijbma4hgl32lw0bi")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (radare2 (assoc-ref inputs "radare2"))) + ;; fix pkg-config detection ./src/lib_radare2.pri:PREFIX=3D= /usr/lib + ;; override `qmake PREFIX=3D` + (substitute* "./src/lib_radare2.pri" + (("PREFIX") "R2PREFIX") + (("R2PREFIX=3D/usr") (string-append "R2PREFIX=3D" radar= e2))) + (invoke "qmake" + (string-append "PREFIX=3D" out) + "./src/Cutter.pro"))))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("openssl" ,openssl) + ("radare2" ,radare2))) + (home-page "https://github.com/radareorg/cutter") + (synopsis "Free and open-source GUI for radare2 reverse engineering = framework") + (description "Cutter is a free and open-source GUI for radare2 rever= se +engineering framework. Its goal is making an advanced, customizable and +FOSS reverse-engineering platform while keeping the user experience at m= ind. +Cutter is created by reverse engineers for reverse engineers.") + (license license:gpl3+))) --=20 2.19.0