summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-08 09:17:08 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:34 +0200
commit54372168d48bf89a4f1f06e6d2b632329e30cde6 (patch)
tree8f04228393f069885006164b7b7a0f82917ef6fb
parentd172b50eee379ad9c971174bec61734638c8fcee (diff)
downloadguix-54372168d48bf89a4f1f06e6d2b632329e30cde6.tar.gz
gnu: rust-hyper-sync-rustls-0.3: Don't skip build.
* gnu/packages/crates-web.scm (rust-hyper-sync-rustls-0.3)[arguments]:
Don't skip the build.  Add cargo-test-flags.
[cargo-development-inputs]: Add rust-env-logger-0.5.

Change-Id: I04737cf24abae67e65cb4fc4e091386816fb646b
-rw-r--r--gnu/packages/crates-web.scm9
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 408b04abf9..ed94c526e8 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2154,12 +2154,17 @@ built on the Actix ecosystem.")
         (base32 "16zirxhsk26kz5jxxxs37wxsm02id97h57kkqs512fj1j0x486kd"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
+     `(#:cargo-test-flags
+       '("--release" "--"
+         ;; not all files included
+         "--skip=client"
+         "--skip=server")
        #:cargo-inputs
        (("rust-hyper" ,rust-hyper-0.10)
         ("rust-rustls" ,rust-rustls-0.14)
         ("rust-webpki" ,rust-webpki-0.18)
-        ("rust-webpki-roots" ,rust-webpki-roots-0.15))))
+        ("rust-webpki-roots" ,rust-webpki-roots-0.15))
+       #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.5))))
     (home-page "https://github.com/SergioBenitez/hyper-sync-rustls")
     (synopsis "Glue code for Rustls and synchronous Hyper")
     (description