me
/
guix
Archived
1
0
Fork 0

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.
Efraim Flashner 2023-07-13 19:10:02 +03:00
parent 2f167ff1c5
commit daf8214978
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 31 additions and 14 deletions

View File

@ -27254,32 +27254,49 @@ timers.")
libraries GMP, MPFR, and MPC.") libraries GMP, MPFR, and MPC.")
(license license:lgpl3+))) (license license:lgpl3+)))
(define-public rust-goblin-0.2 (define-public rust-goblin-0.6
(package (package
(name "rust-goblin") (name "rust-goblin")
(version "0.2.1") (version "0.6.1")
(source (source (origin
(origin (method url-fetch)
(method url-fetch) (uri (crate-uri "goblin" version))
(uri (crate-uri "goblin" version)) (file-name (string-append name "-" version ".tar.gz"))
(file-name (sha256
(string-append name "-" version ".tar.gz")) (base32
(sha256 "0s7zs27b192virbp88y2fgq8p6nb8blkn7byqyl4cv7bm3j4ssqd"))))
(base32
"1j38fkqadbsjxawr3wnj9m0qaihcwp6pmfakmhsar881509y7mfx"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:tests? #f ; Not all files included.
#:cargo-inputs #:cargo-inputs
(("rust-scroll" ,rust-scroll-0.10) (("rust-log" ,rust-log-0.4)
("rust-plain" ,rust-plain-0.2) ("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") (home-page "https://github.com/m4b/goblin")
(synopsis "ELF, Mach-o, and PE binary parsing and loading crate") (synopsis "ELF, Mach-o, and PE binary parsing and loading crate")
(description "This package provides an ELF, Mach-o, and PE binary parsing (description "This package provides an ELF, Mach-o, and PE binary parsing
and loading crate.") and loading crate.")
(license license:expat))) (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 (define-public rust-greetd-ipc-0.8
(package (package
(name "rust-greetd-ipc") (name "rust-greetd-ipc")