From f01b62db996c27281cc3c7bd7d35107d6927b2ce Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 15 Dec 2019 09:05:39 -0800 Subject: gnu: Add rust-jemallocator-0.3. * gnu/packages/crates-io.scm (rust-jemallocator-0.3): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d1864186f9..e4e3f9f359 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3768,6 +3768,33 @@ 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)) + #: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 (list license:expat license:asl2.0)))) + (define-public rust-json-0.11 (package (name "rust-json") -- cgit v1.2.3