guix-commits
[Top][All Lists]
Advanced

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

260/276: gnu: Add rust-hdrhistogram-7.


From: guix-commits
Subject: 260/276: gnu: Add rust-hdrhistogram-7.
Date: Wed, 18 Oct 2023 04:50:33 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 582d6786560d1825371502585421a5280e475f80
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Oct 12 18:27:51 2023 +0300

    gnu: Add rust-hdrhistogram-7.
    
    * gnu/packages/crates-io.scm (rust-hdrhistogram-7): New variable.
    (rust-hdrhistogram-6): Inherit from rust-hdrhistogram-7.
---
 gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++------
 1 file changed, 32 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 856d0e800f..a184a7e988 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30415,8 +30415,39 @@ their key-value pairs in a user controllable order.")
        #:cargo-development-inputs
        (("rust-serde-test" ,rust-serde-test-1))))))
 
+(define-public rust-hdrhistogram-7
+  (package
+    (name "rust-hdrhistogram")
+    (version "7.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hdrhistogram" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1a1al1rfxcqmx0n9h100ggvg036f4rv69fq12kimazvw9zsvj6bz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-base64" ,rust-base64-0.13)
+        ("rust-byteorder" ,rust-byteorder-1)
+        ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
+        ("rust-flate2" ,rust-flate2-1)
+        ("rust-nom" ,rust-nom-7)
+        ("rust-num-traits" ,rust-num-traits-0.2))
+       #:cargo-development-inputs
+       (("rust-clap" ,rust-clap-3)
+        ("rust-ieee754" ,rust-ieee754-0.2)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-rug" ,rust-rug-1))))
+    (home-page "https://github.com/HdrHistogram/HdrHistogram_rust";)
+    (synopsis "Port of HdrHistogram to Rust")
+    (description "This package provides a port of @code{HdrHistogram} to 
Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-hdrhistogram-6
   (package
+    (inherit rust-hdrhistogram-7)
     (name "rust-hdrhistogram")
     (version "6.3.4")
     (source
@@ -30426,7 +30457,6 @@ their key-value pairs in a user controllable order.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "17dqk0rp8kimcd8wr542i8cny91fkclw7a2xzszar95wrpmk3lq8"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -30435,11 +30465,7 @@ their key-value pairs in a user controllable order.")
         ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.3)
         ("rust-flate2" ,rust-flate2-1)
         ("rust-nom" ,rust-nom-4)
-        ("rust-num-traits" ,rust-num-traits-0.2))))
-    (home-page "https://github.com/HdrHistogram/HdrHistogram_rust";)
-    (synopsis "Port of HdrHistogram to Rust")
-    (description "This package provides a port of HdrHistogram to Rust.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-num-traits" ,rust-num-traits-0.2))))))
 
 (define-public rust-headers-0.3
   (package



reply via email to

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