guix-commits
[Top][All Lists]
Advanced

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

11/330: Revert "gnu: Remove rust-mimalloc-0.1."


From: guix-commits
Subject: 11/330: Revert "gnu: Remove rust-mimalloc-0.1."
Date: Mon, 18 Mar 2024 07:14:50 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 860c6a82a953b6692bfb678d265f2f4853404cca
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 09:54:22 2024 +0200

    Revert "gnu: Remove rust-mimalloc-0.1."
    
    This reverts commit 7e78f8a4b554c35b96af8fadbc59728abe6d1022.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4625c81323..18462bb65f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37811,6 +37811,29 @@ migration mechanism.")
 embedded migrations.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-mimalloc-0.1
+  (package
+    (name "rust-mimalloc")
+    (version "0.1.39")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "mimalloc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "176w9gf5qxs07kd2q39f0k25rzmp4kyx5r13wc8sk052bqmr40gs"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libmimalloc-sys" ,rust-libmimalloc-sys-0.1))))
+    (inputs (list mimalloc))
+    (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-mimalloc-rust-0.1
   (package
     (name "rust-mimalloc-rust")



reply via email to

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