diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-12 18:29:12 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-18 11:36:28 +0300 |
commit | bbbed725c9dcccf4d9b886d966eed28082e25022 (patch) | |
tree | a3f48df05bf4acc8205dea5e4b91f04acc43c8b1 /gnu | |
parent | 582d6786560d1825371502585421a5280e475f80 (diff) | |
download | guix-bbbed725c9dcccf4d9b886d966eed28082e25022.tar.gz |
gnu: Add rust-tower-test-0.4.
* gnu/packages/crates-io.scm (rust-tower-test-0.4): New variable. rust-tower-test-0.3): Inherit from rust-tower-test-0.4.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 37 |
1 files changed, 30 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a184a7e988..5fd7f842ce 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -74546,8 +74546,37 @@ composition between @code{Service}s.") request/response based, client or server.") (license license:expat))) +(define-public rust-tower-test-0.4 + (package + (name "rust-tower-test") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tower-test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19zgjwzr9216yg1ayrnsly06lqdv96m2z1xq0bmf9fgazxrnfm54")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-test" ,rust-tokio-test-0.4) + ("rust-tower-layer" ,rust-tower-layer-0.3) + ("rust-tower-service" ,rust-tower-service-0.3)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/tower-rs/tower") + (synopsis "Utilities for writing client and server @code{Service} tests") + (description "This package provides utilities for writing client and +server @code{Service} tests.") + (license license:expat))) + (define-public rust-tower-test-0.3 (package + (inherit rust-tower-test-0.4) (name "rust-tower-test") (version "0.3.0") (source @@ -74558,7 +74587,6 @@ request/response based, client or server.") (sha256 (base32 "1j2k07g3z8ascq7r30bmw3b75v8lhd63mhfl60y59a74q71bp94v")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3) @@ -74568,12 +74596,7 @@ request/response based, client or server.") ("rust-tower-layer" ,rust-tower-layer-0.3) ("rust-tower-service" ,rust-tower-service-0.3)) #:cargo-development-inputs - (("rust-tokio" ,rust-tokio-0.2)))) - (home-page "https://github.com/tower-rs/tower") - (synopsis "Utilities for writing client and server @code{Service} tests") - (description "This package provides utilities for writing client and -server @code{Service} tests.") - (license license:expat))) + (("rust-tokio" ,rust-tokio-0.2)))))) (define-public rust-tower-util-0.3 (package |