guix-commits
[Top][All Lists]
Advanced

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

43/188: gnu: Add rust-alloc-stdlib-0.2.


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

arunisaac pushed a commit to branch master
in repository guix.

commit abf6e95662c6859c1104d85578f127dfc18c5186
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Wed Sep 16 17:37:43 2020 +0530

    gnu: Add rust-alloc-stdlib-0.2.
    
    * gnu/packages/crates-io.scm (rust-alloc-stdlib-0.2): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 791c2d8..0b90d9d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -414,6 +414,28 @@ options to use calloc or a mutable global variable for 
pre-zeroed memory.")
 
 (define-public rust-alloc-no-stdlib-2.0 rust-alloc-no-stdlib-2)
 
+(define-public rust-alloc-stdlib-0.2
+  (package
+    (name "rust-alloc-stdlib")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "alloc-stdlib" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1hj3r1x88aajnvigdck0diygj2isc90wa271kkj1swgiq3nxfzk9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-alloc-no-stdlib" ,rust-alloc-no-stdlib-2.0))))
+    (home-page "https://github.com/dropbox/rust-alloc-no-stdlib";)
+    (synopsis "A dynamic allocator example that may be used with the stdlib")
+    (description "This package provides a dynamic allocator example that may
+be used with the stdlib.")
+    (license license:bsd-3)))
+
 (define-public rust-android-glue-0.2
   (package
     (name "rust-android-glue")



reply via email to

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