me
/
guix
Archived
1
0
Fork 0

gnu: rust-hermit-abi: Add 0.2.6.

* gnu/packages/crates-io.scm (rust-hermit-abi-0.2): New variable.
(rust-hermit-abi-0.1): Inherit from it.
master
Marius Bakke 2022-12-04 17:02:00 +01:00 committed by Maxim Cournoyer
parent 3ef26c8adc
commit 8d74703777
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 28 additions and 8 deletions

View File

@ -25785,8 +25785,35 @@ consistent, and reasonably well performing.")
#:cargo-inputs
(("rust-unicode-segmentation" ,rust-unicode-segmentation-1))))))
(define-public rust-hermit-abi-0.2
(package
(name "rust-hermit-abi")
(version "0.2.6")
(source (origin
(method url-fetch)
(uri (crate-uri "hermit-abi" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1iz439yz9qzk3rh9pqx2rz5c4107v3qbd7bppfsbzb1mzr02clgf"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-libc" ,rust-libc-0.2)
("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
(home-page "https://github.com/hermitcore/rusty-hermit")
(synopsis "Small interface to call functions from RustyHermit")
(description
"Hermit-abi is small interface to call functions from the unikernel RustyHermit.
It is used to build the target x86_64-unknown-hermit.")
;; The user can choose either license.
(license (list license:expat license:asl2.0))))
(define-public rust-hermit-abi-0.1
(package
(inherit rust-hermit-abi-0.2)
(name "rust-hermit-abi")
(version "0.1.10")
(source
@ -25798,19 +25825,12 @@ consistent, and reasonably well performing.")
(sha256
(base32
"0blmmzik5cs79ivq70s9gal8ypgzj50wnl2hwsaam46gjjbz2p3j"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-libc" ,rust-libc-0.2)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
(home-page "https://github.com/hermitcore/rusty-hermit")
(synopsis "Small interface to call functions from RustyHermit")
(description
"Hermit-abi is small interface to call functions from the unikernel RustyHermit.
It is used to build the target x86_64-unknown-hermit.")
(license (list license:expat license:asl2.0))))
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
(define-public rust-hex-0.4
(package