gnu: rust-actix-connect-1: Don't skip the build.
* gnu/packages/crates-web.scm (rust-actix-connect-1)[arguments]: Don't skip the build. Remove custom 'fix-version-requirements phase. [cargo-inputs]: Replace rust-trust-dns-proto-0.18 with 0.18.0-alpha.2, rust-trust-dns-resolver-0.18 with 0.18.0-alpha.2. Change-Id: I881bdbf381120818884beed766c85d61ed458fe6
This commit is contained in:
parent
557068ee7c
commit
ddecd9e168
@ -265,11 +265,7 @@
|
|||||||
(sha256
|
(sha256
|
||||||
(base32 "0v77m394gzbrrzg12xkqgli11vwhig0zcxy3yhmq1s91j9bcjp69"))))
|
(base32 "0v77m394gzbrrzg12xkqgli11vwhig0zcxy3yhmq1s91j9bcjp69"))))
|
||||||
(arguments
|
(arguments
|
||||||
;; XXX: The crate fails to't build with: "error[E0432]: unresolved import
|
`(#:cargo-inputs
|
||||||
;; `trust_dns_resolver::Background`". I assume it really expects
|
|
||||||
;; trust-dns-resolver at version 0.18-alpha.2, which we do not provide.
|
|
||||||
`(#:skip-build? #true
|
|
||||||
#:cargo-inputs
|
|
||||||
(("rust-actix-codec" ,rust-actix-codec-0.2)
|
(("rust-actix-codec" ,rust-actix-codec-0.2)
|
||||||
("rust-actix-rt" ,rust-actix-rt-1)
|
("rust-actix-rt" ,rust-actix-rt-1)
|
||||||
("rust-actix-service" ,rust-actix-service-1)
|
("rust-actix-service" ,rust-actix-service-1)
|
||||||
@ -283,19 +279,11 @@
|
|||||||
("rust-rustls" ,rust-rustls-0.16)
|
("rust-rustls" ,rust-rustls-0.16)
|
||||||
("rust-tokio-openssl" ,rust-tokio-openssl-0.4)
|
("rust-tokio-openssl" ,rust-tokio-openssl-0.4)
|
||||||
("rust-tokio-rustls" ,rust-tokio-rustls-0.12)
|
("rust-tokio-rustls" ,rust-tokio-rustls-0.12)
|
||||||
("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18)
|
("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18.0-alpha.2)
|
||||||
("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.18)
|
("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.18.0-alpha.2)
|
||||||
("rust-webpki" ,rust-webpki-0.21))
|
("rust-webpki" ,rust-webpki-0.21))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-actix-testing" ,rust-actix-testing-1))
|
(("rust-actix-testing" ,rust-actix-testing-1))))))
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'fix-version-requirements
|
|
||||||
(lambda _
|
|
||||||
(substitute* "Cargo.toml"
|
|
||||||
(("0.18.0-alpha.2")
|
|
||||||
,(package-version rust-trust-dns-proto-0.18)))
|
|
||||||
#t)))))))
|
|
||||||
|
|
||||||
(define-public rust-actix-connect-0.2
|
(define-public rust-actix-connect-0.2
|
||||||
(package
|
(package
|
||||||
|
Loading…
Reference in New Issue
Block a user