guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

181/299: gnu: Add rust-jemallocator-0.3.


From: guix-commits
Subject: 181/299: gnu: Add rust-jemallocator-0.3.
Date: Thu, 2 Jan 2020 13:19:40 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit f01b62db996c27281cc3c7bd7d35107d6927b2ce
Author: John Soo <address@hidden>
Date:   Sun Dec 15 09:05:39 2019 -0800

    gnu: Add rust-jemallocator-0.3.
    
    * gnu/packages/crates-io.scm (rust-jemallocator-0.3): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d1864186..e4e3f9f 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]