mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: Add rust-ureq-1.
* gnu/packages/crates-io.scm (rust-ureq-1): New variable. Inherit from rust-ureq-2. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
91edfb2cd3
commit
0f8a4189b8
1 changed files with 41 additions and 10 deletions
|
@ -67232,12 +67232,10 @@ (define-public rust-ureq-2
|
|||
(package
|
||||
(name "rust-ureq")
|
||||
(version "2.4.0")
|
||||
(source
|
||||
(origin
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "ureq" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1m8nzx683iph4zfpfg2xmkkbwmgf1i403lnbhxqk4gbsj8pzm6ck"))))
|
||||
|
@ -67273,6 +67271,39 @@ (define-public rust-ureq-2
|
|||
(description "This package provides minimal request library in Rust.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-ureq-1
|
||||
(package
|
||||
(inherit rust-ureq-2)
|
||||
(name "rust-ureq")
|
||||
(version "1.5.5")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "ureq" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0wdakplwjjya6m95z42pci8m63ddx913rd92kzh8l8ar5ly0d2rb"))))
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-base64" ,rust-base64-0.13)
|
||||
("rust-chunked-transfer" ,rust-chunked-transfer-1)
|
||||
("rust-cookie" ,rust-cookie-0.14)
|
||||
("rust-cookie-store" ,rust-cookie-store-0.12)
|
||||
("rust-encoding" ,rust-encoding-0.2)
|
||||
("rust-log" ,rust-log-0.4)
|
||||
("rust-native-tls" ,rust-native-tls-0.2)
|
||||
("rust-once-cell" ,rust-once-cell-1)
|
||||
("rust-qstring" ,rust-qstring-0.7)
|
||||
("rust-rustls" ,rust-rustls-0.19)
|
||||
("rust-rustls-native-certs" ,rust-rustls-native-certs-0.5)
|
||||
("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.21)
|
||||
("rust-webpki-roots" ,rust-webpki-roots-0.21))))))
|
||||
|
||||
(define-public rust-url-2
|
||||
(package
|
||||
(name "rust-url")
|
||||
|
|
Loading…
Reference in a new issue