guix-commits
[Top][All Lists]
Advanced

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

44/189: gnu: Add rust-alloc-stdlib-0.2.


From: guix-commits
Subject: 44/189: gnu: Add rust-alloc-stdlib-0.2.
Date: Mon, 21 Sep 2020 06:01:05 -0400 (EDT)

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

commit 514ee62868d90adc68c53c6608220722eafdd838
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 eeee807..17e694d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -416,6 +416,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-andrew-0.2
   (package
     (name "rust-andrew")



reply via email to

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