Subject: [PATCH] gnu: rizin: Update to 0.7.2.
From: [email-masked]
To: [email-masked]
Cc: 宋文武 <[email-masked]>
Date: Tue, 12 Mar 2024 18:37:16 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

From: 宋文武 <[email-masked]>

* 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
---
 gnu/packages/engineering.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index ae287cf51b..6af0c75eb2 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -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")

base-commit: a52701a4d3c90327f6b88267173a5a98ef3db8e6
-- 
2.41.0