diff options
author | Aleksandr Vityazev <avityazev@posteo.org> | 2022-01-17 15:10:35 +0000 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-22 13:10:00 +0100 |
commit | 8608343d1d6d08458ddab296516678d4c888c0ac (patch) | |
tree | 4d5d795b811c6dc4a1dc63c1834760bf61abc9c1 | |
parent | 4c132b703dc6ac73db26342b0b592e8c714f831d (diff) | |
download | guix-8608343d1d6d08458ddab296516678d4c888c0ac.tar.gz |
gnu: Add rust-ureq-2.
* gnu/packages/crates-io.scm (rust-ureq-2): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b2e896e240..7d45a17522 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -64468,6 +64468,51 @@ type-safe zero-cost dimensional analysis.") (sha256 (base32 "1vg59hnb7hh0p8kjjhgmrsnn3597722lkfdkp481wksq6vk06rg7")))))) +(define-public rust-ureq-2 + (package + (name "rust-ureq") + (version "2.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ureq" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1m8nzx683iph4zfpfg2xmkkbwmgf1i403lnbhxqk4gbsj8pzm6ck")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;tests fail + #:cargo-inputs + (("rust-base64" ,rust-base64-0.13) + ("rust-brotli-decompressor" ,rust-brotli-decompressor-2) + ("rust-chunked-transfer" ,rust-chunked-transfer-1) + ("rust-cookie" ,rust-cookie-0.15) + ("rust-cookie-store" ,rust-cookie-store-0.15) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-flate2" ,rust-flate2-1) + ("rust-log" ,rust-log-0.4) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rustls" ,rust-rustls-0.20) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-socks" ,rust-socks-0.3) + ("rust-url" ,rust-url-2) + ("rust-webpki" ,rust-webpki-0.22) + ("rust-webpki-roots" ,rust-webpki-roots-0.22)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.9) + ("rust-rustls" ,rust-rustls-0.20) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/algesten/ureq") + (synopsis "Simple, safe HTTP client") + (description "This package provides minimal request library in Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-url-2 (package (name "rust-url") |