aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-web.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-19 16:42:17 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:43:44 +0300
commitddecd9e1682da8ae051bfc8be7badfef838ccbff (patch)
treeedf82571db84b9378e31295bb4a5041b0b9077b6 /gnu/packages/crates-web.scm
parent557068ee7cf0eb5d382c093be992c25823955afa (diff)
downloadguix-ddecd9e1682da8ae051bfc8be7badfef838ccbff.tar.gz
guix-ddecd9e1682da8ae051bfc8be7badfef838ccbff.zip
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
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r--gnu/packages/crates-web.scm20
1 files changed, 4 insertions, 16 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index c119efaf93..9b2d27dc69 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -265,11 +265,7 @@
(sha256
(base32 "0v77m394gzbrrzg12xkqgli11vwhig0zcxy3yhmq1s91j9bcjp69"))))
(arguments
- ;; XXX: The crate fails to't build with: "error[E0432]: unresolved import
- ;; `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
+ `(#:cargo-inputs
(("rust-actix-codec" ,rust-actix-codec-0.2)
("rust-actix-rt" ,rust-actix-rt-1)
("rust-actix-service" ,rust-actix-service-1)
@@ -283,19 +279,11 @@
("rust-rustls" ,rust-rustls-0.16)
("rust-tokio-openssl" ,rust-tokio-openssl-0.4)
("rust-tokio-rustls" ,rust-tokio-rustls-0.12)
- ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18)
- ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-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.0-alpha.2)
("rust-webpki" ,rust-webpki-0.21))
#:cargo-development-inputs
- (("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)))))))
+ (("rust-actix-testing" ,rust-actix-testing-1))))))
(define-public rust-actix-connect-0.2
(package