guix-commits
[Top][All Lists]
Advanced

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

139/188: gnu: Add rust-mimalloc-0.1.


From: guix-commits
Subject: 139/188: gnu: Add rust-mimalloc-0.1.
Date: Mon, 12 Oct 2020 02:25:23 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit 287ea254475ae96acb87a5fe59a23afd48397bd0
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Sun Sep 20 11:45:59 2020 +0530

    gnu: Add rust-mimalloc-0.1.
    
    * gnu/packages/crates-io.scm (rust-mimalloc-0.1): 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 6e4be49..eb82798 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14364,6 +14364,28 @@ for Rust structs.")
     (description "Rust bindings for Metal.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-mimalloc-0.1
+  (package
+    (name "rust-mimalloc")
+    (version "0.1.20")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "mimalloc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0x74b6jv6pxfl6bh44bnch6ajm3l5z3zq8w8mqlscbq8d77rnx80"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libmimalloc-sys" ,rust-libmimalloc-sys-0.1))))
+    (home-page "https://crates.io/crates/mimalloc";)
+    (synopsis "Performance and security oriented drop-in allocator")
+    (description "This package provides a performance and security oriented
+drop-in allocator.")
+    (license license:expat)))
+
 (define-public rust-mime-0.3
   (package
     (name "rust-mime")



reply via email to

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