guix-commits
[Top][All Lists]
Advanced

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

42/188: gnu: Add rust-alloc-no-stdlib-2.


From: guix-commits
Subject: 42/188: gnu: Add rust-alloc-no-stdlib-2.
Date: Mon, 12 Oct 2020 02:24:45 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit ce7520db90d86e3db9fe4f3fa267e5586a42ab20
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Wed Sep 16 17:36:11 2020 +0530

    gnu: Add rust-alloc-no-stdlib-2.
    
    * gnu/packages/crates-io.scm (rust-alloc-no-stdlib-2,
    rust-alloc-no-stdlib-2.0): New variables.
---
 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 7fd1752..791c2d8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -390,6 +390,30 @@ code that is generic with regard to the algebraic entity 
types.")
 @code{alga} crate.")
     (license license:asl2.0)))
 
+(define-public rust-alloc-no-stdlib-2
+  (package
+    (name "rust-alloc-no-stdlib")
+    (version "2.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "alloc-no-stdlib" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "19lhmi73fii1b6vrzh23vvp5yjqm33cb94h9yz17pn25b51yr4ji"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/dropbox/rust-alloc-no-stdlib";)
+    (synopsis "Dynamic allocator that may be used with or without the stdlib")
+    (description "This package provides a dynamic allocator that may be used
+with or without the stdlib.  This allows a package with nostd to allocate
+memory dynamically and be used either with a custom allocator, items on the
+stack, or by a package that wishes to simply use Box<>.  It also provides
+options to use calloc or a mutable global variable for pre-zeroed memory.")
+    (license license:bsd-3)))
+
+(define-public rust-alloc-no-stdlib-2.0 rust-alloc-no-stdlib-2)
+
 (define-public rust-android-glue-0.2
   (package
     (name "rust-android-glue")



reply via email to

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