GNU bug report logs - #71076
[PATCH 00/81] Add matrix-conduit and ruma-0.10.

Previous Next

Package: guix-patches;

Reported by: Herman Rimm <herman <at> rimm.ee>

Date: Mon, 20 May 2024 08:57:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Herman Rimm <herman <at> rimm.ee>
To: 71076 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>
Subject: [bug#71076] [PATCH 16/81] gnu: Add rust-tikv-jemallocator-0.5.
Date: Mon, 20 May 2024 10:58:21 +0200
* gnu/packages/crates-io.scm (rust-tikv-jemallocator-0.5): Add
variables.
(rust-tikv-jemallocator-0.4): Inherit from rust-tikv-jemallocator-0.5.

Change-Id: I7c280bbacbffb5aee78dc41d9fc082387992040d
---
 gnu/packages/crates-io.scm | 40 +++++++++++++++++++++++++++++---------
 1 file changed, 31 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8aee499902..16583e582a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -82778,8 +82778,38 @@ (define-public rust-tikv-jemalloc-sys-0.4
         ("rust-fs-extra" ,rust-fs-extra-1)
         ("rust-libc" ,rust-libc-0.2))))))
 
+(define-public rust-tikv-jemallocator-0.5
+  (package
+    (name "rust-tikv-jemallocator")
+    (version "0.5.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tikv-jemallocator" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+          "1jpanfm9az8hcbg6dyxdabykx03lj0j4g9cbwfa6rig5dg1f0pwn"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-test-flags
+      '(list "--release" "--"
+             "--skip=background_threads_enabled")
+      #:cargo-inputs (list rust-libc-0.2 rust-tikv-jemalloc-sys-0.5)
+      #:cargo-development-inputs (list rust-paste-1
+                                       rust-tikv-jemalloc-ctl-0.5)
+      #:phases override-jemalloc))
+    (native-inputs (list jemalloc))
+    (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-tikv-jemallocator-0.4
   (package
+    (inherit rust-tikv-jemallocator-0.5)
     (name "rust-tikv-jemallocator")
     (version "0.4.1")
     (source
@@ -82791,20 +82821,12 @@ (define-public rust-tikv-jemallocator-0.4
        (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))))
+         ,rust-tikv-jemalloc-sys-0.4))))))
 
 (define-public rust-time-0.3
   (package
-- 
2.41.0





This bug report was last modified 1 year and 26 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.