gnu: Add rust-ureq-2.
* gnu/packages/crates-io.scm (rust-ureq-2): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
parent
4c132b703d
commit
8608343d1d
|
@ -64468,6 +64468,51 @@ type-safe zero-cost dimensional analysis.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1vg59hnb7hh0p8kjjhgmrsnn3597722lkfdkp481wksq6vk06rg7"))))))
|
(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
|
(define-public rust-url-2
|
||||||
(package
|
(package
|
||||||
(name "rust-url")
|
(name "rust-url")
|
||||||
|
|
Reference in New Issue