diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-07-13 19:10:02 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-07-18 20:56:22 +0300 |
commit | 60b4f11e761e2929fd72bcf2a24ebf5c6e3961f9 (patch) | |
tree | d8544e3d6bf93194617697f5bc05efc0c19d5a84 /gnu | |
parent | 5335defaf57a49ccaa3a5c21734106a71fb6ec9a (diff) | |
download | guix-60b4f11e761e2929fd72bcf2a24ebf5c6e3961f9.tar.gz |
gnu: Add rust-goblin-0.6.
* gnu/packages/crates-io.scm (rust-goblin-0.6): New variable. (rust-goblin-0.2): Inherit from rust-goblin-0.6.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 45 |
1 files changed, 31 insertions, 14 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0e7dbb5358..390120171e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27254,32 +27254,49 @@ timers.") libraries GMP, MPFR, and MPC.") (license license:lgpl3+))) -(define-public rust-goblin-0.2 +(define-public rust-goblin-0.6 (package (name "rust-goblin") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "goblin" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1j38fkqadbsjxawr3wnj9m0qaihcwp6pmfakmhsar881509y7mfx")))) + (version "0.6.1") + (source (origin + (method url-fetch) + (uri (crate-uri "goblin" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0s7zs27b192virbp88y2fgq8p6nb8blkn7byqyl4cv7bm3j4ssqd")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:tests? #f ; Not all files included. #:cargo-inputs - (("rust-scroll" ,rust-scroll-0.10) + (("rust-log" ,rust-log-0.4) ("rust-plain" ,rust-plain-0.2) - ("rust-log" ,rust-log-0.4)))) + ("rust-scroll" ,rust-scroll-0.11)))) (home-page "https://github.com/m4b/goblin") (synopsis "ELF, Mach-o, and PE binary parsing and loading crate") (description "This package provides an ELF, Mach-o, and PE binary parsing and loading crate.") (license license:expat))) +(define-public rust-goblin-0.2 + (package + (inherit rust-goblin-0.6) + (name "rust-goblin") + (version "0.2.1") + (source (origin + (method url-fetch) + (uri (crate-uri "goblin" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1j38fkqadbsjxawr3wnj9m0qaihcwp6pmfakmhsar881509y7mfx")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-scroll" ,rust-scroll-0.10) + ("rust-plain" ,rust-plain-0.2) + ("rust-log" ,rust-log-0.4)))))) + (define-public rust-greetd-ipc-0.8 (package (name "rust-greetd-ipc") |