diff options
author | John Soo <jsoo1@asu.edu> | 2020-01-31 21:05:21 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-02-06 10:48:13 +0200 |
commit | 53bf4857a422e9e09eb807a636aed2848e255f49 (patch) | |
tree | 7edcc7cbbe51526c81628eaf40e9b1b83a290ff3 | |
parent | 5d0fff83dc610ee82d1ed51366876cfc86b9f79d (diff) | |
download | patches-53bf4857a422e9e09eb807a636aed2848e255f49.tar patches-53bf4857a422e9e09eb807a636aed2848e255f49.tar.gz |
gnu: Add rust-hermit-abi-0.1.
* gnu/packages/crates-io.scm (rust-hermit-abi-0.1): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 45cfd2f5f4..0c5cc3b69c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4751,6 +4751,33 @@ consistent, and reasonably well performing.") (license (list license:asl2.0 license:expat)))) +(define-public rust-hermit-abi-0.1 + (package + (name "rust-hermit-abi") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "hermit-abi" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wippj5nkw9q5yyyaqpdrgdhag3l3nbrwja7149cwn7ii1nnbwpg")))) + (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.0)))) + (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)))) + (define-public rust-hex-0.4 (package (name "rust-hex") |