aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-20 11:45:59 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:42:01 +0530
commit287ea254475ae96acb87a5fe59a23afd48397bd0 (patch)
treef2a702162261bdcb42e6ac0be93a9fea42d14877
parentd9146f98d3f89d7c5574db079751e592a704a1ab (diff)
downloadguix-287ea254475ae96acb87a5fe59a23afd48397bd0.tar.gz
guix-287ea254475ae96acb87a5fe59a23afd48397bd0.zip
gnu: Add rust-mimalloc-0.1.
* gnu/packages/crates-io.scm (rust-mimalloc-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6e4be49279..eb82798cb4 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")