summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-21 09:33:05 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:32 +0200
commit98a05112dd3d3ecd769881521b30d9052223190c (patch)
tree1e6e2f4f0e74239f151a8a60f42992de73ed58e8 /gnu/packages
parent1be28b3346485fee2b50984f83eec9d9320ad039 (diff)
downloadguix-98a05112dd3d3ecd769881521b30d9052223190c.tar.gz
gnu: Add rust-quinn-udp-0.4.
* gnu/packages/crates-io.scm (rust-quinn-udp-0.4): New variable.
(rust-quinn-udp-0.1): Inherit from rust-quinn-udp-0.4.

Change-Id: I625b3c084aa85696a7e58ddcfdfb5b12690a4d2b
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm35
1 files changed, 27 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8af58bc33a..83cf46f81d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60452,8 +60452,34 @@ and Petrick's method, an algorithm to automatically minimize boolean expressions
     (description "State machine for the QUIC transport protocol")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-quinn-udp-0.4
+  (package
+    (name "rust-quinn-udp")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "quinn-udp" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1mxiy36w9a3rw6cvfcmlc0rz2vhmq8fzffg4qj9rzswgirvlwnq5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-socket2" ,rust-socket2-0.5)
+                       ("rust-tracing" ,rust-tracing-0.1)
+                       ("rust-windows-sys" ,rust-windows-sys-0.48))))
+    (home-page "https://github.com/quinn-rs/quinn")
+    (synopsis "UDP sockets with ECN information for the QUIC transport protocol")
+    (description
+     "This package provodes UDP sockets with ECN information for the QUIC
+transport protocol in Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-quinn-udp-0.1
   (package
+    (inherit rust-quinn-udp-0.4)
     (name "rust-quinn-udp")
     (version "0.1.4")
     (source (origin
@@ -60462,7 +60488,6 @@ and Petrick's method, an algorithm to automatically minimize boolean expressions
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32 "0m4fafg9d87d8hr0988bg1dcichnxm4xkvwv4vm1lls1f4klcydh"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-futures-util" ,rust-futures-util-0.3)
@@ -60470,13 +60495,7 @@ and Petrick's method, an algorithm to automatically minimize boolean expressions
         ("rust-quinn-proto" ,rust-quinn-proto-0.8)
         ("rust-socket2" ,rust-socket2-0.4)
         ("rust-tokio" ,rust-tokio-1)
-        ("rust-tracing" ,rust-tracing-0.1))))
-    (home-page "https://github.com/quinn-rs/quinn")
-    (synopsis "UDP sockets with ECN information for the QUIC transport protocol")
-    (description
-     "This package provodes UDP sockets with ECN information for the QUIC
-transport protocol in Rust.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-tracing" ,rust-tracing-0.1))))))
 
 (define-public rust-quote-1
   (package