me
/
guix
Archived
1
0
Fork 0

gnu: rizin: Update to 0.5.2.

* gnu/packages/engineering.scm (rizin): Update to 0.5.2.
[arguments]: Remove libuv. Add lzma, libmspack and swift_demangler. Skip the analysis_var test.
[inputs]: Add libmspack.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Theofilos Pechlivanis 2023-04-01 15:19:28 +03:00 committed by Ludovic Courtès
parent 730655d56a
commit 58769f9273
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 14 additions and 5 deletions

View File

@ -36,6 +36,7 @@
;;; Copyright © 2022 Artyom V. Poptsov <poptsov.artyom@gmail.com> ;;; Copyright © 2022 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Felix Gruber <felgru@posteo.net> ;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2023 Theofilos Pechlivanis <theofilos.pechlivanis@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -4094,7 +4095,7 @@ form, numpad.
(define-public rizin (define-public rizin
(package (package
(name "rizin") (name "rizin")
(version "0.4.1") (version "0.5.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -4102,7 +4103,7 @@ form, numpad.
version "/rizin-src-v" version ".tar.xz")) version "/rizin-src-v" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1f5zzlnr2na4hkvcwn4n9cjlk6595945vwrw89pa683qk5mrb7b6")))) "18zca3iwdif200wiivm065fs0a5g520q6380205cijca7ky81avi"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
(list (list
@ -4117,7 +4118,12 @@ form, numpad.
"-Duse_sys_xxhash=enabled" "-Duse_sys_xxhash=enabled"
"-Duse_sys_openssl=enabled" "-Duse_sys_openssl=enabled"
"-Duse_sys_tree_sitter=enabled" "-Duse_sys_tree_sitter=enabled"
"-Duse_sys_libuv=enabled" "-Duse_sys_lzma=enabled"
"-Duse_sys_libmspack=enabled"
"-Duse_zlib=true"
"-Duse_lzma=true"
"-Dinstall_sigdb=false"
"-Duse_swift_demangler=true"
"-Duse_gpl=true") "-Duse_gpl=true")
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
@ -4128,10 +4134,13 @@ form, numpad.
;; And 2 of them are failing, reported upstream: ;; And 2 of them are failing, reported upstream:
;; <https://github.com/rizinorg/rizin/issues/2905>. ;; <https://github.com/rizinorg/rizin/issues/2905>.
(substitute* "test/meson.build" (substitute* "test/meson.build"
(("subdir\\('integration'\\)") ""))))))) (("subdir\\('integration'\\)") ""))
;;; Skip analysis_var test, which is failing.
(substitute* "test/unit/meson.build"
(("'analysis_var',\n") "")))))))
(native-inputs (list pkg-config)) (native-inputs (list pkg-config))
(inputs (inputs
(list capstone file libuv libzip lz4 openssl tree-sitter xxhash zlib)) (list capstone file libuv libzip lz4 openssl tree-sitter xxhash zlib libmspack))
(home-page "https://rizin.re") (home-page "https://rizin.re")
(synopsis "Disasm, debug, analyze and manipulate binary files") (synopsis "Disasm, debug, analyze and manipulate binary files")
(description (description