diff options
| author | Sören Tempel <soeren+git@soeren-tempel.net> | 2025-12-04 10:43:10 +0000 |
|---|---|---|
| committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2026-07-05 22:43:41 +0200 |
| commit | 29be809b8d40883c818be1e48d61d49823326583 (patch) | |
| tree | acebb65523424afbd003d662eaef93393087545a /gnu/packages/rust-sources.scm | |
| parent | eb8fb4f94333eae36b01778bc696659705589d5f (diff) | |
gnu: python-angr: Update to 9.2.186.
* gnu/packages/python-xyz.scm (python-angr): Update to 9.2.186.
[source] <patches>: Add patch to fix manyfloat test failure.
[arguments] <imported-modules, modules>: Add cargo modules.
<phases>: Add prepare-cargo-build-system, fix-tests,
use-guix-vendored-dependencies, check-setup, generate-protobuf-files;
Remove 'patch-tests.
[propagated-inputs]: Remove python-ailment, python-colorama,
python-cppheaderparser, python-dpkt, python-nampa,
python-itanium-demangler, python-rpyc, python-sqlalchemy; add
python-msgspec, python-pypcode, python-typing-extensions.
[native-inputs]: Remove python-wheel and "binaries" which is moved to a
hidden package; add angr-binaries and python-setuptools-rust; remove
package labels.
* gnu/packages/rust-sources.scm (rust-icicle-emu-0.1.0.4d7ed93): New variable.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs): Add python-angr inputs.
(lookup-cargo-inputs): Add rust-icicle-emu-0.1.0.4d7ed93 inputs.
* gnu/packages/patches/python-angr-check-exec-deps.patch: Rebase patch.
* gnu/packages/patches/python-angr-fix-manyfloat-tests.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register new patch.
Change-Id: I88180e4be3d5b65fc4047a0d6eeecc864bba8b55
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/rust-sources.scm')
| -rw-r--r-- | gnu/packages/rust-sources.scm | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/gnu/packages/rust-sources.scm b/gnu/packages/rust-sources.scm index 94be5b248bd..451846818c7 100644 --- a/gnu/packages/rust-sources.scm +++ b/gnu/packages/rust-sources.scm | |||
| @@ -181,6 +181,58 @@ | |||
| 181 | "This package provides Rust types for the Debug Adapter Protocol.") | 181 | "This package provides Rust types for the Debug Adapter Protocol.") |
| 182 | (license (list license:asl2.0 license:expat))))) | 182 | (license (list license:asl2.0 license:expat))))) |
| 183 | 183 | ||
| 184 | (define-public rust-icicle-emu-0.1.0.4d7ed93 | ||
| 185 | (let ((commit "4d7ed93254a20b7e5c16bd7b0c6b46db49e1c72e") | ||
| 186 | (revision "0")) | ||
| 187 | (package | ||
| 188 | (name "rust-icicle-emu") | ||
| 189 | (version (git-version "0.1.0" revision commit)) | ||
| 190 | (source | ||
| 191 | (origin | ||
| 192 | (method git-fetch) | ||
| 193 | (uri (git-reference | ||
| 194 | (url "https://github.com/icicle-emu/icicle-emu.git") | ||
| 195 | (commit commit))) | ||
| 196 | (file-name (git-file-name name version)) | ||
| 197 | (sha256 | ||
| 198 | (base32 "09g5gp4v18r8f5blzpmgxy7kmgx016zjph2affa5zlxm07d866gk")))) | ||
| 199 | (build-system cargo-build-system) | ||
| 200 | (arguments | ||
| 201 | (list | ||
| 202 | #:skip-build? #t | ||
| 203 | #:cargo-package-crates ''("pcode" "sleigh-parse" | ||
| 204 | "sleigh-runtime" | ||
| 205 | "sleigh-compile" | ||
| 206 | "icicle-mem" | ||
| 207 | "icicle-cpu" | ||
| 208 | "icicle-linux" | ||
| 209 | "icicle-jit" | ||
| 210 | "icicle-vm" | ||
| 211 | "icicle-fuzzing") | ||
| 212 | #:phases | ||
| 213 | #~(modify-phases %standard-phases | ||
| 214 | (add-after 'unpack 'use-guix-vendored-dependencies | ||
| 215 | (lambda _ | ||
| 216 | (for-each (lambda (file) | ||
| 217 | (substitute* file | ||
| 218 | (("^pcode = \\{ ([^}]+) \\}" all opts) | ||
| 219 | (format #f "pcode = { ~a, version = \"*\" }~%" opts)) | ||
| 220 | (("^sleigh-parse = \\{ ([^}]+) \\}" all opts) | ||
| 221 | (format #f "sleigh-parse = { ~a, version = \"*\" }~%" opts)) | ||
| 222 | (("^sleigh-compile = \\{ ([^}]+) \\}" all opts) | ||
| 223 | (format #f "sleigh-compile = { ~a, version = \"*\" }~%" opts)) | ||
| 224 | (("^sleigh-runtime = \\{ ([^}]+) \\}" all opts) | ||
| 225 | (format #f "sleigh-runtime = { ~a, version = \"*\" }~%" opts)) | ||
| 226 | (("^icicle-([a-z]+).*$" all pkg) | ||
| 227 | (format #f "icicle-~a = { version = \"*\" }\n" pkg)))) | ||
| 228 | (find-files "." "Cargo.toml"))))))) | ||
| 229 | (inputs (cargo-inputs 'rust-icicle-emu-0.1.0.4d7ed93)) | ||
| 230 | (home-page "https://github.com/icicle-emu/icicle-emu") | ||
| 231 | (synopsis "Core emulator components for Icicle") | ||
| 232 | (description | ||
| 233 | "Experimental fuzzing-specific, multi-architecture emulation framework.") | ||
| 234 | (license (list license:asl2.0 license:expat))))) | ||
| 235 | |||
| 184 | (define-public rust-deunicode-1 | 236 | (define-public rust-deunicode-1 |
| 185 | (hidden-package | 237 | (hidden-package |
| 186 | (package | 238 | (package |
