me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-curl-0.4.

* gnu/packages/crates-io.scm (rust-curl-0.4): New variable.
master
Nicolas Goaziou 2020-12-21 22:05:56 +01:00
parent b14f558294
commit 6d1b9d15dc
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 40 additions and 0 deletions

View File

@ -7120,6 +7120,46 @@ Transparency logs for use with sct crate.")
use with bindgen.")
(license (list license:expat license:asl2.0))))
(define-public rust-curl-0.4
(package
(name "rust-curl")
(version "0.4.34")
(source
(origin
(method url-fetch)
(uri (crate-uri "curl" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0vkm6fyizf8m9yxpv3n5pm9ag3bwlyqa6nz2ga8qkzm5y4m1cs72"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #false ;require internet access
#:cargo-inputs
(("rust-curl-sys" ,rust-curl-sys-0.4)
("rust-libc" ,rust-libc-0.2)
("rust-openssl-probe" ,rust-openssl-probe-0.1)
("rust-openssl-sys" ,rust-openssl-sys-0.9)
("rust-schannel" ,rust-schannel-0.1)
("rust-socket2" ,rust-socket2-0.3)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-anyhow" ,rust-anyhow-1)
("rust-mio" ,rust-mio-0.6)
("rust-mio-extras" ,rust-mio-extras-2))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
`(("curl" ,curl)
("nghttp2" ,nghttp2)
("openssl" ,openssl)
("zlib" ,zlib)))
(home-page "https://github.com/alexcrichton/curl-rust")
(synopsis "Rust bindings to libcurl for making HTTP requests")
(description
"This package provides Rust bindings to libcurl for making HTTP
requests")
(license license:expat)))
(define-public rust-curl-sys-0.4
(package
(name "rust-curl-sys")