guix-commits
[Top][All Lists]
Advanced

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

43/189: gnu: Add rust-alloc-no-stdlib-2.


From: guix-commits
Subject: 43/189: gnu: Add rust-alloc-no-stdlib-2.
Date: Mon, 21 Sep 2020 06:01:04 -0400 (EDT)

arunisaac pushed a commit to branch wip-swc
in repository guix.

commit 2c78d424e24972d9613f1a234af6e88f5be83bab
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 a42bb4b..eeee807 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -392,6 +392,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-andrew-0.2
   (package
     (name "rust-andrew")



reply via email to

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