From d4bcfdd0e267fb00d85c0f8bd08cb078fb0e1e6a Mon Sep 17 00:00:00 2001 From: bdunahu Date: Fri, 27 Feb 2026 15:08:27 -0500 Subject: [PATCH] gnu: iaito: Update to 6.0.8-2.5f44a32. * gnu/packages/engineering.scm (iaito): Update to 6.0.8-2.5f44a32. [arguments]: <#:phases>: remove custom configure phase. Merges guix/guix!6755 Change-Id: I19f2a6e444b832e4f1b753ab448ec95be97a3759 Signed-off-by: Cayetano Santos --- gnu/packages/engineering.scm | 95 ++++++++++++++++++------------------ 1 file changed, 47 insertions(+), 48 deletions(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 5ba72c45b8..5037a9db87 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1038,57 +1038,56 @@ user-level language.") ;; Mark as tunable to take advantage of SIMD code in Eigen. (properties '((tunable? . #t)))))) +;; TODO: Keep in sync with radare2. (define-public iaito - (package - (name "iaito") - (version "6.0.8") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/radareorg/iaito") - (commit version))) - (sha256 - (base32 - "0m78anir1wzjwhqfmf629nrb4a0z449ijvr2gj4jh7lw7j4ijr7i")) - (file-name (git-file-name name version)))) - (build-system gnu-build-system) - (arguments - (list - #:tests? #f ;no tests - #:phases - #~(modify-phases %standard-phases - ;; The build system assumes the sdb lib is installed alongside - ;; radare2. We already patch the radare2 package to use a - ;; system-installed sdb rather than install its own, so we must - ;; propagate those changes here. - (add-before 'configure 'add-sdb-libs - (lambda _ - (substitute* '("./src/lib_radare2.pri") - (("pkg-config --libs r_core" all) - (string-append all " sdb"))))) - (replace 'configure - (lambda _ - ;; Does not recognize "--enable-fast-install". - (invoke "./configure" - (string-append "--prefix=" #$output))))))) - (inputs - (list capstone - libuv - libzip - lz4 - openssl - qtbase - qtsvg - radare2 - sdb)) - (native-inputs - (list pkg-config python-minimal-wrapper)) - (home-page "https://github.com/radareorg/iaito") - (synopsis "Official radare2 GUI") - (description "Iaito is the official graphical interface for radare2, a + ;; Commit "Switch to use r2 6.1" + (let ((commit "5f44a3259bb91ac849749436b06fe2501a4d8a2a") + (revision "1")) + (package + (name "iaito") + (version (git-version "6.0.8" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/radareorg/iaito") + (commit commit))) + (sha256 + (base32 + "0qg22hlra75sz1a2c6dhxfbq0dgiqm00d3xpsr30wz90nmz6dzf5")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ;no tests + #:phases + #~(modify-phases %standard-phases + ;; The build system assumes the sdb lib is installed alongside + ;; radare2. We already patch the radare2 package to use a + ;; system-installed sdb rather than install its own, so we must + ;; propagate those changes here. + (add-before 'configure 'add-sdb-libs + (lambda _ + (substitute* '("./src/lib_radare2.pri") + (("pkg-config --libs r_core" all) + (string-append all " sdb")))))))) + (inputs + (list capstone + libuv + libzip + lz4 + openssl + qtbase + qtsvg + radare2 + sdb)) + (native-inputs + (list pkg-config python-minimal-wrapper)) + (home-page "https://github.com/radareorg/iaito") + (synopsis "Official radare2 GUI") + (description "Iaito is the official graphical interface for radare2, a libre reverse engineering framework. Iaito focuses on simplicity, parity with commands, features, and keybindings.") - (license license:gpl3+))) + (license license:gpl3+)))) (define-public inspekt3d (let ((commit "703f52ccbfedad2bf5240bf8183d1b573c9d54ef")