guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

396/436: gnu: Add rust-wee-alloc-0.4.


From: guix-commits
Subject: 396/436: gnu: Add rust-wee-alloc-0.4.
Date: Sun, 5 Nov 2023 05:30:01 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 9d7522685f8ac94e39ca1f5e57f2e4e8bf9c78fc
Author: Wilko Meyer <w@wmeyer.eu>
AuthorDate: Thu Jul 27 16:31:12 2023 +0200

    gnu: Add rust-wee-alloc-0.4.
    
    * gnu/packages/crates-io.scm (rust-wee-alloc-0.4): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
    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 @@ implementation of webview, a tiny cross-platform 
library to render web-based
 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]