From 89038e0234ad263da719c49822754407bec0378c Mon Sep 17 00:00:00 2001 From: Zheng junjie <873216071@qq.com> Date: Fri, 11 Jun 2021 19:44:43 +0800 Subject: [PATCH] gnu: Add rust-tikv-jemallocator-0.4. * gnu/packages/crates-io.scm (rust-tikv-jemallocator-0.4): New variable. Signed-off-by: Nicolas Goaziou --- 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 fbf82391a9..290390d1d5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -44925,6 +44925,34 @@ (define-public rust-tikv-jemalloc-sys-0.4 (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")