summary refs log tree commit diff
path: root/gnu/packages/crates-web.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-24 11:25:18 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:58:31 +0200
commit333e2b85fc0ccc13a8a17d2d7396374e144ae5f4 (patch)
tree0d548a0e847b987ffadd7f677efbb0587cd0cbe8 /gnu/packages/crates-web.scm
parent852891b2377c851ae5e889ef9c1b5a6f7b6ce4fc (diff)
downloadguix-333e2b85fc0ccc13a8a17d2d7396374e144ae5f4.tar.gz
gnu: rust-async-h1-2: Move to (gnu packages crates-web).
* gnu/packages/crates-io.scm (rust-async-h1-2): Move from here ...
* gnu/packages/crates-web.scm: ... to here.

Change-Id: Ia61263ea35b821f03f707a4786acdb7eaa4a5fa5
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r--gnu/packages/crates-web.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index e7a137ef4c..afe2532e72 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -1489,6 +1489,37 @@ Rust.")
     (inputs
      (list openssl))))
 
+(define-public rust-async-h1-2
+  (package
+    (name "rust-async-h1")
+    (version "2.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "async-h1" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1p6ls50p1ixnxrhmx4sdb5d2kqrl1kfhcb0lkqlhzzqjz1sqmip5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-async-channel" ,rust-async-channel-1)
+        ("rust-async-dup" ,rust-async-dup-1)
+        ("rust-async-std" ,rust-async-std-1)
+        ("rust-byte-pool" ,rust-byte-pool-0.2)
+        ("rust-futures-core" ,rust-futures-core-0.3)
+        ("rust-http-types" ,rust-http-types-2)
+        ("rust-httparse" ,rust-httparse-1)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-pin-project" ,rust-pin-project-1))))
+    (home-page "https://github.com/http-rs/async-h1")
+    (synopsis "Asynchronous HTTP 1.1 parser")
+    (description
+     "This package provides an asynchronous HTTP 1.1 parser.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-awc-2
   (package
     (name "rust-awc")