From 53bf4857a422e9e09eb807a636aed2848e255f49 Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 31 Jan 2020 21:05:21 -0800 Subject: gnu: Add rust-hermit-abi-0.1. * gnu/packages/crates-io.scm (rust-hermit-abi-0.1): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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") -- cgit v1.2.3