diff options
author | Herman Rimm <herman@rimm.ee> | 2024-02-18 22:08:14 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:43:39 +0300 |
commit | ab17c7267a08df469e66cc421d9aef078197f84c (patch) | |
tree | cd89e99b05002298988ad13aa321c0453b996050 /gnu/packages/crates-web.scm | |
parent | 65358b483bf3dbce0c12f4c656b3f2adf23382ab (diff) | |
download | guix-ab17c7267a08df469e66cc421d9aef078197f84c.tar.gz guix-ab17c7267a08df469e66cc421d9aef078197f84c.zip |
gnu: Add rust-wiremock-0.5.
* gnu/packages/crates-web.scm (rust-wiremock-0.5): Add variable.
Change-Id: I7622ce52de5d7ea2a9363f37b88e06c7f0c5ab54
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index fa3a08fb95..8cda4a14a2 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -7451,3 +7451,44 @@ with webpki.") implementation of webview, a tiny cross-platform library to render web-based GUIs as desktop applications.") (license license:expat))) + +(define-public rust-wiremock-0.5 + (package + (name "rust-wiremock") + (version "0.5.22") + (source + (origin + (method url-fetch) + (uri (crate-uri "wiremock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sf2adr5q3xqrj4sa89fmbr5vl3x51wb1cfp63fr1wrlmwzab8qk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-assert-json-diff" ,rust-assert-json-diff-2) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.21) + ("rust-deadpool" ,rust-deadpool-0.9) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-timer" ,rust-futures-timer-3) + ("rust-http-types" ,rust-http-types-2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-async-std" ,rust-async-std-1) + ("rust-isahc" ,rust-isahc-1) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-surf" ,rust-surf-2) + ("rust-tokio" ,rust-tokio-1)))) + (native-inputs (list pkg-config)) + (inputs (list curl openssl zlib)) + (home-page "https://github.com/LukeMathWalker/wiremock-rs") + (synopsis "HTTP mocking to test Rust applications.") + (description "This package provides HTTP mocking to test Rust +applications.") + (license (list license:expat license:asl2.0)))) |