From 7e218465459a059a77ab141c2ee1ce7e36ce4f76 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:35:32 +0100
Subject: [PATCH 28/31] gnu: Add rust-attohttpc-0.17.
* gnu/packages/crates-io.scm (rust-attohttpc-0.17): New variable.
@@ -5038,6 +5038,43 @@ (define-public rust-atomic-waker-1
"This package provides a synchronization primitive for task wakeup.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-attohttpc-0.17
+ (package
+ (name "rust-attohttpc")
+ (version "0.17.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "attohttpc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0bg0d95smcd5nrp5d3h1c3w1vlizdrvnq412jcrjn9jpahqdm2ws"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-encoding-rs" ,rust-encoding-rs-0.8)
+ ("rust-encoding-rs-io" ,rust-encoding-rs-io-0.1)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mime" ,rust-mime-0.3)
+ ("rust-multipart" ,rust-multipart-0.17)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-rustls" ,rust-rustls-0.18)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6)
+ ("rust-url" ,rust-url-2)
+ ("rust-webpki" ,rust-webpki-0.21)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.19)
+ ("rust-wildmatch" ,rust-wildmatch-1))))
+ (home-page "https://github.com/sbstp/attohttpc")
+ (synopsis "Small and lightweight HTTP client")
+ (description "This package provides small and lightweight HTTP
+client.")
+ (license license:mpl2.0)))
+
(define-public rust-atty-0.2
(package
(name "rust-atty")
--
2.38.1