summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 09:05:39 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:44 +0200
commitf01b62db996c27281cc3c7bd7d35107d6927b2ce (patch)
tree7923884a15b20eb8a16d388ed03642d4b2ed30a8 /gnu
parentab0a2216d75369f7211b5b099c39630c901a02ec (diff)
gnu: Add rust-jemallocator-0.3.
* gnu/packages/crates-io.scm (rust-jemallocator-0.3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
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")