From 7717577b0a49a16b42756f51ae803e84810325d3 Mon Sep 17 00:00:00 2001 From: Wilko Meyer Date: Thu, 27 Jul 2023 16:31:12 +0200 Subject: [PATCH] gnu: Add rust-wee-alloc-0.4. * gnu/packages/crates-io.scm (rust-wee-alloc-0.4): New variable. Signed-off-by: Efraim Flashner Change-Id: Id732b8209165490c7e964b1f97022ffdf0b75df0 --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6a50317cf1..81eef5e88e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -85863,6 +85863,30 @@ (define-public rust-webview-sys-0.6 GUIs as desktop applications.") (license license:expat))) +(define-public rust-wee-alloc-0.4 + (package + (name "rust-wee-alloc") + (version "0.4.5") + (source (origin + (method url-fetch) + (uri (crate-uri "wee_alloc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "13hb19nfqwjwcqlfj46sjz4j49wd7sj6hbjasimcn5xvnakbbcyv")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-memory-units" ,rust-memory-units-0.4) + ("rust-spin" ,rust-spin-0.5) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/rustwasm/wee_alloc") + (synopsis "wee_alloc: The Wasm-Enabled, Elfin Allocator") + (description "wee_alloc: The Wasm-Enabled, Elfin Allocator") + (license license:mpl2.0))) + (define-public rust-weezl-0.1 (package (name "rust-weezl")