summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-27 20:41:15 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:58:48 +0200
commitd0a6c877cd75c1f00f952915fcd73d3e7783c474 (patch)
tree6319a2d1c957aee5e04fe1f4e404e96dfb6264b4
parent817bbdfb1c59e70eced587d2af377aad0ce759aa (diff)
downloadguix-d0a6c877cd75c1f00f952915fcd73d3e7783c474.tar.gz
gnu: rust-hdrhistogram-7: Fix build.
* gnu/packages/crates-io.scm (rust-hdrhistogram-7)[arguments]: Add
cargo-test-flags.
[inputs]: Add gmp, mpc, mpfr.

Change-Id: Ibd1824ccd7e3c27db8c5f8f1b1fe33839047054e
-rw-r--r--gnu/packages/crates-io.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c9e3381c0a..dff92d1475 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32926,7 +32926,10 @@ their key-value pairs in a user controllable order.")
         (base32 "1a1al1rfxcqmx0n9h100ggvg036f4rv69fq12kimazvw9zsvj6bz"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:cargo-test-flags
+       '("--release" "--"
+         "--skip=sync::mt_record_static")
+       #:cargo-inputs
        (("rust-base64" ,rust-base64-0.13)
         ("rust-byteorder" ,rust-byteorder-1)
         ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
@@ -32938,6 +32941,8 @@ their key-value pairs in a user controllable order.")
         ("rust-ieee754" ,rust-ieee754-0.2)
         ("rust-rand" ,rust-rand-0.8)
         ("rust-rug" ,rust-rug-1))))
+    (inputs
+     (list gmp mpc mpfr))
     (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.")