summary refs log tree commit diff
diff options
context:
space:
mode:
authorZheng junjie <873216071@qq.com>2021-06-11 19:44:42 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-13 19:14:00 +0200
commit61145d2796641504945628da2222174e98e98dd9 (patch)
treea7870bda665d73fa648010a375a03212088751ea
parent5a62035ed075ea9f6eef4805b02880f9fadd0aff (diff)
downloadguix-61145d2796641504945628da2222174e98e98dd9.tar.gz
gnu: Add rust-tikv-jemalloc-sys-0.4.
* gnu/packages/crates-io.scm (rust-tikv-jemalloc-sys-0.4): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 385ff7bc65..fbf82391a9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44899,6 +44899,32 @@ fixed set of worker threads.")
      "You can bind to libsodium from Rust with this crate.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-tikv-jemalloc-sys-0.4
+  (package
+    (name "rust-tikv-jemalloc-sys")
+    (version "0.4.1+5.2.1-patched")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tikv-jemalloc-sys" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1lw6gy9gzk7g7h71nm8a5ybrilhqgr583mn80nslr78p0ldk69la"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-cc" ,rust-cc-1)
+        ("rust-fs-extra" ,rust-fs-extra-1)
+        ("rust-libc" ,rust-libc-0.2))))
+    (home-page
+     "https://github.com/tikv/jemallocator")
+    (synopsis "Rust FFI bindings to jemalloc")
+    (description "This package provides a Rust FFI bindings to jemalloc.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-time-0.2
   (package
     (name "rust-time")