gnu: rizin: Update to 0.7.2.

* gnu/packages/engineering.scm (rizin): Update to 0.7.2.
[arguments]: Add '-Duse_sys_libzstd=enabled' and '-Duse_sys_pcre2=enabled' to
configure-flags.  Enable 'hash' tests.
[inputs]: Add pcre2 and zstd:lib.

Change-Id: I36321856b400e509cf00580588bfbc3b9e828f7f
This commit is contained in:
宋文武 2024-03-12 18:37:16 +08:00
parent f285a968b1
commit 517a198060
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -4302,7 +4302,7 @@ (define-public candle
(define-public rizin
(package
(name "rizin")
(version "0.6.2")
(version "0.7.2")
(source (origin
(method url-fetch)
(uri (string-append
@ -4310,7 +4310,7 @@ (define-public rizin
version "/rizin-src-v" version ".tar.xz"))
(sha256
(base32
"0szq3wr7i7gwm8llgbhssjb63q70rjqqdlj6078vs110waih16p2"))))
"0ajqng66b01phs0hjygg9phyc8p3fs0a1isbc0zmxdz2bas3zzzw"))))
(build-system meson-build-system)
(arguments
(list
@ -4322,11 +4322,13 @@ (define-public rizin
"-Duse_sys_libzip=enabled"
"-Duse_sys_zlib=enabled"
"-Duse_sys_lz4=enabled"
"-Duse_sys_libzstd=enabled"
"-Duse_sys_xxhash=enabled"
"-Duse_sys_openssl=enabled"
"-Duse_sys_tree_sitter=enabled"
"-Duse_sys_lzma=enabled"
"-Duse_sys_libmspack=enabled"
"-Duse_sys_pcre2=enabled"
"-Duse_zlib=true"
"-Duse_lzma=true"
"-Dinstall_sigdb=false"
@ -4342,8 +4344,7 @@ (define-public rizin
(("subdir\\('integration'\\)") ""))
;;; Skip failing tests.
(substitute* "test/unit/meson.build"
(("'bin_mach0',\n") "")
(("'hash',\n") "")))))))
(("'bin_mach0',\n") "")))))))
(native-inputs (list pkg-config))
(inputs
(list capstone
@ -4352,9 +4353,11 @@ (define-public rizin
libzip
lz4
openssl
pcre2
tree-sitter
xxhash
zlib
(list zstd "lib")
libmspack))
(home-page "https://rizin.re")
(synopsis "Disassemble, debug, analyze, and manipulate binary files")