summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng junjie <873216071@qq.com>2021-06-11 19:44:43 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-13 19:14:00 +0200
commit89038e0234ad263da719c49822754407bec0378c (patch)
tree2e07b7ecc1d59d57c173c4950f33fb3ebbd5a0e7
parent61145d2796641504945628da2222174e98e98dd9 (diff)
gnu: Add rust-tikv-jemallocator-0.4.
* gnu/packages/crates-io.scm (rust-tikv-jemallocator-0.4): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fbf82391a9..290390d1d5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44925,6 +44925,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")