guix-patches
[Top][All Lists]
Advanced

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

[bug#48956] [PATCH 07/58] gnu: Add rust-tikv-jemallocator-0.4.


From: Zheng Junjie
Subject: [bug#48956] [PATCH 07/58] gnu: Add rust-tikv-jemallocator-0.4.
Date: Fri, 11 Jun 2021 19:44:43 +0800

From: Zheng junjie <873216071@qq.com>

* gnu/packages/crates-io.scm (rust-tikv-jemallocator-0.4): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a33550b456..8a52a736b4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44916,6 +44916,34 @@ fixed set of worker threads.")
     (description "This package provides a Rust FFI bindings to jemalloc.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-tikv-jemallocator-0.4
+  (package
+    (name "rust-tikv-jemallocator")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tikv-jemallocator" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1pyc94yx74s3vxnr22gnpj0b2f87s0vql0c5ayy1b1zb0jkaa51w"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-tikv-jemalloc-sys"
+         ,rust-tikv-jemalloc-sys-0.4))))
+    (home-page
+     "https://github.com/tikv/jemallocator";)
+    (synopsis
+     "Rust allocator backed by jemalloc")
+    (description
+     "This package provides a Rust allocator backed by jemalloc.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-time-0.2
   (package
     (name "rust-time")
-- 
2.32.0






reply via email to

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