aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-07-13 19:10:02 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:38:09 +0300
commitdaf821497864dcdea3ea1e07e1486728b535a7c1 (patch)
treeb49273cf3e794b92ec7b16f9ded5c76ba2632c29 /gnu
parent2f167ff1c57cab3602ac71c90f82339c57e7ebd7 (diff)
downloadguix-daf821497864dcdea3ea1e07e1486728b535a7c1.tar
guix-daf821497864dcdea3ea1e07e1486728b535a7c1.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.scm45
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")