summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-20 11:44:27 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:42:00 +0530
commitd9146f98d3f89d7c5574db079751e592a704a1ab (patch)
tree6c98bade93ffa69bfc7841b65f97aeb857226267
parent63ab8fe71157a11a6b7eaba51eb1dc7867ed1202 (diff)
downloadguix-d9146f98d3f89d7c5574db079751e592a704a1ab.tar.gz
gnu: Add rust-libmimalloc-sys-0.1.
* gnu/packages/crates-io.scm (rust-libmimalloc-sys-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f8b0de5060..6e4be49279 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13017,6 +13017,30 @@ functions and static variables these libraries contain.")
         (base32
          "16pc0gx4gkg0q2s1ssq8268brn14j8344623vwhadmivc4lsmivz"))))))
 
+(define-public rust-libmimalloc-sys-0.1
+  (package
+    (name "rust-libmimalloc-sys")
+    (version "0.1.16")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libmimalloc-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "127x7v82y227x2gkcnbay6lx2b505dq9ny47dd4p5g8lkgklnz37"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cty" ,rust-cty-0.2))
+       #:cargo-development-inputs
+       (("rust-cmake" ,rust-cmake-0.1))))
+    (home-page "https://github.com/purpleprotocol/mimalloc_rust")
+    (synopsis "Sys crate wrapping the mimalloc allocator")
+    (description "This package provides a sys crate wrapping the mimalloc
+allocator.")
+    (license license:expat)))
+
 (define-public rust-libnghttp2-sys-0.1
   (package
     (name "rust-libnghttp2-sys")