guix-commits
[Top][All Lists]
Advanced

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

62/71: gnu: Add rust-alloca-0.4.


From: guix-commits
Subject: 62/71: gnu: Add rust-alloca-0.4.
Date: Sun, 29 Dec 2024 16:21:17 -0500 (EST)

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

commit 315c021c7bc3b12c47104e8dc4e91c379e4ee2ef
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Dec 29 22:45:02 2024 +0200

    gnu: Add rust-alloca-0.4.
    
    * gnu/packages/crates-io.scm (rust-alloca-0.4): New variable.
    
    Change-Id: I0a5e997c7bcbcdc2be8f872fd30818a9589c408a
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ca2ce84514..1e856df31f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1321,6 +1321,25 @@ be used with the stdlib.")
 in no_std.")
     (license license:expat)))
 
+(define-public rust-alloca-0.4
+  (package
+    (name "rust-alloca")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "alloca" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1x6p4387rz6j7h342kp3b7bgvqzyl9mibf959pkfk9xflrgd19z5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-cc" ,rust-cc-1))))
+    (home-page "https://github.com/playXE/alloca-rs";)
+    (synopsis "Mostly safe wrapper for alloca")
+    (description "This package provides a mostly safe wrapper for alloca.")
+    (license license:expat)))
+
 (define-public rust-allocator-api2-0.2
   (package
     (name "rust-allocator-api2")



reply via email to

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