diff options
author | Efraim Flashner <[email protected]> | 2024-12-19 12:27:32 +0200 |
---|---|---|
committer | Efraim Flashner <[email protected]> | 2025-01-06 12:15:13 +0200 |
commit | 211b242f62dd67d9cdc12e16fe1636a35e5896f7 (patch) | |
tree | 0630eab0d0a56aa314b77ae0cf4cb78463f776a8 /gnu/packages/crates-web.scm | |
parent | e4abddaafbae6e82250812c73dd39472a488e7f9 (diff) |
gnu: Add rust-httpmock-0.7.
* gnu/packages/crates-web.scm (rust-httpmock-0.7): New variable.
Change-Id: I5530bac4ef757d85cfbceeac13e08468f91d6279
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index aca927740a..7fcce04f39 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -3485,6 +3485,60 @@ dependencies.") "This crates parses and formats HTTP datetime strings.") (license (list license:expat license:asl2.0)))) +(define-public rust-httpmock-0.7 + (package + (name "rust-httpmock") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "httpmock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nzxw15pn453siq4v9xfjgggvw2jry50y7qsxhnlf409xs39bv08")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-assert-json-diff" ,rust-assert-json-diff-2) + ("rust-async-object-pool" ,rust-async-object-pool-0.1) + ("rust-async-std" ,rust-async-std-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.21) + ("rust-basic-cookies" ,rust-basic-cookies-0.1) + ("rust-clap" ,rust-clap-4) + ("rust-colored" ,rust-colored-2) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-form-urlencoded" ,rust-form-urlencoded-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-isahc" ,rust-isahc-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-levenshtein" ,rust-levenshtein-1) + ("rust-log" ,rust-log-0.4) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-regex" ,rust-serde-regex-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.9) + ("rust-similar" ,rust-similar-2) + ("rust-tokio" ,rust-tokio-1) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-colored" ,rust-colored-2) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-isahc" ,rust-isahc-1) + ("rust-quote" ,rust-quote-1) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-syn" ,rust-syn-2) + ("rust-tokio-test" ,rust-tokio-test-0.4) + ("rust-ureq" ,rust-ureq-2)))) + (native-inputs (list pkg-config)) + (inputs (list curl openssl zlib)) + (home-page "https://github.com/alexliesenfeld/httpmock") + (synopsis "HTTP mocking library for Rust") + (description "This package provides an HTTP mocking library for Rust.") + (license license:expat))) + (define-public rust-hyper-1 (package (name "rust-hyper") |