mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: cutter: Update to 2.4.1; also update rizin to 0.8.1.
* gnu/packages/engineering.scm (rizin): Update to 0.8.1. <#:phases>{skip-integration-tests}: Activate bin_mach0 tests and deactivate tokens test. (cutter): Update to 2.4.1. [inputs]: Add graphviz. [arguments]<#:configure-flags>: Set CUTTER_QT=5 and CUTTER_ENABLE_PYTHON_BINDINGS=ON. Closes: #2526 Change-Id: Ibb2193dd03b9c8eb317480bffa67846ef3556fe7 Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
10fa82b47e
commit
1660aa58ce
1 changed files with 22 additions and 20 deletions
|
@ -2711,31 +2711,32 @@ simulation.")
|
||||||
(define-public cutter
|
(define-public cutter
|
||||||
(package
|
(package
|
||||||
(name "cutter")
|
(name "cutter")
|
||||||
(version "2.3.4")
|
(version "2.4.1") ;keep in sync with rizin
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/rizinorg/cutter")
|
(url "https://github.com/rizinorg/cutter")
|
||||||
(commit (string-append "v" version))
|
(commit (string-append "v" version))
|
||||||
|
;; Needed for src/translations.
|
||||||
(recursive? #t)))
|
(recursive? #t)))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet #~(delete-file-recursively "rizin"))
|
(snippet #~(delete-file-recursively "rizin"))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0d10g1wpw8p8hcxvw5q7ymfdxyrp4xqs6a49lf3gdgnmcpb248ad"))))
|
(base32 "090gfg90k0fn3jiyssdigjgb7xn473hxfm7gpl1rwn3kl6fv7lvw"))))
|
||||||
(build-system qt-build-system)
|
(build-system qt-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:configure-flags #~(list "-DCUTTER_USE_BUNDLED_RIZIN=OFF")
|
#:configure-flags
|
||||||
|
#~(list "-DCUTTER_USE_BUNDLED_RIZIN=OFF"
|
||||||
|
"-DCUTTER_ENABLE_PYTHON_BINDINGS=ON"
|
||||||
|
"-DCUTTER_QT=5")
|
||||||
#:tests? #f)) ;no tests
|
#:tests? #f)) ;no tests
|
||||||
(native-inputs (list pkgconf))
|
(native-inputs
|
||||||
(inputs (list libzip
|
(list pkgconf))
|
||||||
openssl
|
(inputs
|
||||||
qtsvg-5
|
(list graphviz libzip openssl qtsvg-5 qttools-5 rizin zlib))
|
||||||
qttools-5
|
|
||||||
rizin
|
|
||||||
zlib))
|
|
||||||
(home-page "https://cutter.re")
|
(home-page "https://cutter.re")
|
||||||
(synopsis "Software reverse engineering platform")
|
(synopsis "Software reverse engineering platform")
|
||||||
(description
|
(description
|
||||||
|
@ -5189,15 +5190,16 @@ form, numpad.
|
||||||
(define-public rizin
|
(define-public rizin
|
||||||
(package
|
(package
|
||||||
(name "rizin")
|
(name "rizin")
|
||||||
(version "0.7.4")
|
(version "0.8.1") ;keep in sync with cutter
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append
|
(method url-fetch)
|
||||||
"https://github.com/rizinorg/rizin/releases/download/v"
|
(uri (string-append
|
||||||
version "/rizin-src-v" version ".tar.xz"))
|
"https://github.com/rizinorg/rizin/releases/download/v"
|
||||||
(sha256
|
version "/rizin-src-v" version ".tar.xz"))
|
||||||
(base32
|
(sha256
|
||||||
"008jcfbp836g2sya4aqkbkfir6h1xhq0pq53p8w3r16wwl88j4gp"))))
|
(base32
|
||||||
|
"1hjf180q4ba0cs5ys7vwy5xs1k6195kransj8fn3dp6p4mjiwazg"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -5231,7 +5233,7 @@ form, numpad.
|
||||||
(("subdir\\('integration'\\)") ""))
|
(("subdir\\('integration'\\)") ""))
|
||||||
;;; Skip failing tests.
|
;;; Skip failing tests.
|
||||||
(substitute* "test/unit/meson.build"
|
(substitute* "test/unit/meson.build"
|
||||||
(("'bin_mach0',\n") "")))))))
|
(("'tokens',\n") "")))))))
|
||||||
(native-inputs (list pkg-config))
|
(native-inputs (list pkg-config))
|
||||||
(inputs
|
(inputs
|
||||||
(list capstone
|
(list capstone
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue