guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 28c579f983376abba48a0cea3c26a4d7388affd6
Author: Cayetano Santos <[email protected]>
AuthorDate: Wed Aug 26 14:56:19 2026 +0200
gnu: capstone: Update to 5.0.9.
* gnu/packages/engineering.scm (capstone): Update to 5.0.9.
[arguments]: Use G-Expressions, enable #:tests and and delete
’fix-cstool-ldflags #:phase.
Merges guix/guix!10826
Signed-off-by: Cayetano Santos <[email protected]>
---
gnu/packages/engineering.scm | 22 ++++++++--------------
1 file changed, 8 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 42d94b79987..b39b8e24007 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1983,7 +1983,7 @@ analyzer (FFT) and frequency sweep plot.")
(define-public capstone
(package
(name "capstone")
- (version "5.0.3")
+ (version "5.0.9")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1992,21 +1992,15 @@ analyzer (FFT) and frequency sweep plot.")
(file-name (git-file-name name version))
(sha256
(base32
- "0fv8j1nzzbc5x9pg90641gpmlmp9h85wcg3l6258drk761rp979d"))))
+ "10k739n6iqzfgzk508nzjz7w5qk87rw765sd7h9l1346c8ls425q"))))
(build-system gnu-build-system)
(arguments
- `(#:tests? #f
- #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
- (string-append "CC=" ,(cc-for-target)))
- #:phases
- (modify-phases %standard-phases
- (delete 'configure) ; no configure script
- ;; cstool's Makefile ‘+=’s LDFLAGS, so we cannot pass it as a make
flag.
- (add-before 'build 'fix-cstool-ldflags
- (lambda* (#:key outputs #:allow-other-keys)
- (setenv "LDFLAGS"
- (string-append "-Wl,-rpath="
- (assoc-ref outputs "out") "/lib")))))))
+ (list
+ #:make-flags #~(list (string-append "PREFIX=" #$output)
+ (string-append "CC=" #$(cc-for-target)))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)))) ;no configure script
(home-page "https://github.com/capstone-engine/capstone")
(synopsis "Lightweight multi-platform, multi-architecture disassembly
framework")
(description