[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/24: gnu: Add rust-isahc-0.9.
From: |
guix-commits |
Subject: |
19/24: gnu: Add rust-isahc-0.9. |
Date: |
Tue, 5 Jan 2021 15:17:09 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit c00874ea108d08a8c98d7a311c058936bfe73422
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Dec 22 17:39:35 2020 +0100
gnu: Add rust-isahc-0.9.
* gnu/packages/crates-io.scm (rust-isahc-0.9): New variable.
---
gnu/packages/crates-io.scm | 60 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f77c6b0..aba4aa6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15117,6 +15117,66 @@ network configuration for Windows.")
enum like Option/Result.")
(license license:expat)))
+(define-public rust-isahc-0.9
+ (package
+ (name "rust-isahc")
+ (version "0.9.14")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "isahc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12iqz5fj0509pr813pds2fgdk649a0b6ipvy3pqjwb1ywh68m572"))))
+ (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
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.5)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
+ ("rust-curl" ,rust-curl-0.4)
+ ("rust-curl-sys" ,rust-curl-sys-0.4)
+ ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+ ("rust-flume" ,rust-flume-0.9)
+ ("rust-futures-lite" ,rust-futures-lite-1)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-parking-lot" ,rust-parking-lot-0.11)
+ ("rust-publicsuffix" ,rust-publicsuffix-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-slab" ,rust-slab-0.4)
+ ("rust-sluice" ,rust-sluice-0.5)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-futures" ,rust-tracing-futures-0.2)
+ ("rust-url" ,rust-url-2)
+ ("rust-waker-fn" ,rust-waker-fn-1))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.8)
+ ("rust-indicatif" ,rust-indicatif-0.15)
+ ("rust-structopt" ,rust-structopt-0.3)
+ ("rust-test-case" ,rust-test-case-1)
+ ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("curl" ,curl)
+ ("openssl" ,openssl)
+ ("zlib" ,zlib)))
+ (home-page "https://github.com/sagebind/isahc")
+ (synopsis "Practical HTTP client")
+ (description
+ "Isahc is an acronym that stands for Incredible Streaming Asynchronous
+HTTP Client. It is an asynchronous HTTP client for the Rust language. It
+uses libcurl as an HTTP engine inside, and provides an easy-to-use API on top
+that integrates with Rust idioms.")
+ (license license:expat)))
+
(define-public rust-ipnet-2
(package
(name "rust-ipnet")
- 11/24: gnu: Add rust-env-logger-0.8., (continued)
- 11/24: gnu: Add rust-env-logger-0.8., guix-commits, 2021/01/05
- 12/24: gnu: Add rust-indicatif-0.15., guix-commits, 2021/01/05
- 16/24: gnu: Add rust-sharded-slab-0.1., guix-commits, 2021/01/05
- 17/24: gnu: rust-thread-local-1: Drop minor version from name., guix-commits, 2021/01/05
- 14/24: gnu: Add rust-test-case-1., guix-commits, 2021/01/05
- 22/24: gnu: rust-serde-derive-1: Update to 1.0.118., guix-commits, 2021/01/05
- 13/24: gnu: Add rust-insta-0.12., guix-commits, 2021/01/05
- 18/24: gnu: Add rust-tracing-subscriber-0.2., guix-commits, 2021/01/05
- 20/24: gnu: Add rust-async-native-tls-0.3., guix-commits, 2021/01/05
- 24/24: gnu: rust-threadpool-1: Drop minor version from name., guix-commits, 2021/01/05
- 19/24: gnu: Add rust-isahc-0.9.,
guix-commits <=
- 21/24: gnu: rust-httparse-1: Update to 1.3.4., guix-commits, 2021/01/05
- 23/24: gnu: rust-serde-1: Update to 1.0.118., guix-commits, 2021/01/05
- 15/24: gnu: Add rust-tracing-serde-0.1., guix-commits, 2021/01/05