guix-commits
[Top][All Lists]
Advanced

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

18/20: gnu: Add rust-malloc-buf-0.


From: guix-commits
Subject: 18/20: gnu: Add rust-malloc-buf-0.
Date: Wed, 12 Feb 2020 15:22:58 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit cf20f8a58257ed5a99a366427da2f5e12beef6aa
Author: Valentin Ignatev <address@hidden>
AuthorDate: Thu Jan 16 17:32:03 2020 +0300

    gnu: Add rust-malloc-buf-0.
    
    * gnu/packages/crates-io.scm (rust-malloc-buf-0): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 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 a5c9aa4..d9cc522 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6750,6 +6750,28 @@ implementation of LZMA and xz stream encoding/decoding.")
 platform-independently.")
     (license license:expat)))
 
+(define-public rust-malloc-buf-0.0
+ (package
+   (name "rust-malloc-buf")
+   (version "0.0.6")
+   (source
+    (origin
+      (method url-fetch)
+      (uri (crate-uri "malloc-buf" version))
+      (file-name
+       (string-append name "-" version ".tar.gz"))
+      (sha256
+       (base32
+        "1jqr77j89pwszv51fmnknzvd53i1nkmcr8rjrvcxhm4dx1zr1fv2"))))
+   (build-system cargo-build-system)
+   (arguments
+    `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
+   (home-page "https://github.com/SSheldon/malloc_buf";)
+   (synopsis "Structs for handling malloc'd memory passed to Rust")
+   (description
+    "This package provides structs for handling malloc'd memory passed to 
Rust.")
+   (license license:expat)))
+
 (define-public rust-maplit-1.0
   (package
     (name "rust-maplit")



reply via email to

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