me
/
guix
Archived
1
0
Fork 0

gnu: rust-isahc-0.9: Don't skip the build.

* gnu/packages/crates-web.scm (rust-isahc-0.9)[source]: Add snippet to
not use a static curl by default.
[arguments]: Don't skip the build.  Skip the tests.

Change-Id: Id12fe44d1d23aa863cd7e1c98560683e4fffa80e
master
Efraim Flashner 2024-01-24 11:07:03 +02:00
parent d4a2529867
commit bde876b481
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 6 additions and 4 deletions

View File

@ -2619,12 +2619,14 @@ and locking in the core framework.")
(uri (crate-uri "isahc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "12iqz5fj0509pr813pds2fgdk649a0b6ipvy3pqjwb1ywh68m572"))))
(base32 "12iqz5fj0509pr813pds2fgdk649a0b6ipvy3pqjwb1ywh68m572"))
(snippet
#~(begin (use-modules (guix build utils))
(substitute* "Cargo.toml"
(("\"static-curl\", ") ""))))))
(build-system cargo-build-system)
(arguments
;; Build fails with "failed to run custom build command for `curl-sys
;; v0.4.39+curl-7.74.0`". Skip for now.
`(#:skip-build? #true
`(#:tests? #f ; use of undeclared crate or module `testserver`
#:cargo-inputs
(("rust-bytes" ,rust-bytes-0.5)
("rust-chrono" ,rust-chrono-0.4)