From b147668544cb50f35dd9819482355cb606d10edd Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 15 Dec 2019 09:05:39 -0800 Subject: [PATCH 178/263] gnu: Add rust-jemallocator-0.3. * gnu/packages/crates-io.scm (rust-jemallocator-0.3): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bba442a163..d4f5f648f5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3911,6 +3911,35 @@ wasm-bindgen crate.") (license (list license:asl2.0 license:expat)))) +(define-public rust-jemallocator-0.3 + (package + (name "rust-jemallocator") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "jemallocator" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0sabfa5118b7l4ars5n36s2fjyfn59w4d6mjs6rrmsa5zky67bj3")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-jemalloc-sys" ,rust-jemalloc-sys-0.3) + ("rust-libc" ,rust-libc-0.2.58)) + #:cargo-development-inputs + (("rust-paste" ,rust-paste-0.1)))) + (home-page + "https://github.com/gnzlbg/jemallocator") + (synopsis + "Rust allocator backed by jemalloc") + (description + "This package provides a Rust allocator backed by jemalloc.") + (license `(,license:expat ,license:asl2.0)))) + (define-public rust-json-0.11 (package (name "rust-json") -- 2.24.1