all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#69526] [PATCH 00/10] Add aardvark-dns.
@ 2024-03-03 16:43 Tomas Volf
  2024-03-03 16:46 ` [bug#69526] [PATCH 01/10] gnu: Add rust-h3-0.0.2 Tomas Volf
                   ` (11 more replies)
  0 siblings, 12 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-03 16:43 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

This series adds aardvark-dns, which will be required for 5.0 version of
podman.

Tomas Volf (10):
  gnu: Add rust-h3-0.0.2.
  gnu: Add rust-h3-quinn-0.0.3.
  gnu: Add rust-event-listener-strategy-0.1.
  gnu: Add rust-async-broadcast-0.6.
  gnu: Add rust-hickory-proto-0.24.
  gnu: Add rust-hickory-client-0.24.
  gnu: Add rust-hickory-resolver-0.24.
  gnu: Add rust-hickory-recursor-0.24.
  gnu: Add rust-hickory-server-0.24.
  gnu: Add aardvark-dns.

 gnu/packages/crates-io.scm | 332 +++++++++++++++++++++++++++++++++++++
 gnu/packages/rust-apps.scm |  33 ++++
 2 files changed, 365 insertions(+)


base-commit: f00f56514d90ebba5d9e08ec786c8118e437097c
--
2.41.0




^ permalink raw reply	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH 01/10] gnu: Add rust-h3-0.0.2.
  2024-03-03 16:43 [bug#69526] [PATCH 00/10] Add aardvark-dns Tomas Volf
@ 2024-03-03 16:46 ` Tomas Volf
  2024-03-03 16:46 ` [bug#69526] [PATCH 02/10] gnu: Add rust-h3-quinn-0.0.3 Tomas Volf
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-03 16:46 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-io.scm (rust-h3-0.0.2): New variable.

Change-Id: I5841228c71b29e03d254c6c2719252beaef49627
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aaf2157661..0def95ee60 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52217,6 +52217,31 @@ (define-public rust-quickersort-3
 numbers.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-h3-0.0.2
+  (package
+    (name "rust-h3")
+    (version "0.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "h3" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17nbmkz6xs848257xv7gdhrnhyhagfb0dbqla82zv1nixr1wmrkd"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+                       ("rust-fastrand" ,rust-fastrand-1)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-http" ,rust-http-0.2)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tracing" ,rust-tracing-0.1))))
+    (home-page "https://github.com/hyperium/h3")
+    (synopsis "An async HTTP/3 implementation")
+    (description "This library provides an async HTTP/3 implementation.")
+    (license license:expat)))
+
 (define-public rust-quinn-0.10
   (package
     (name "rust-quinn")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH 02/10] gnu: Add rust-h3-quinn-0.0.3.
  2024-03-03 16:43 [bug#69526] [PATCH 00/10] Add aardvark-dns Tomas Volf
  2024-03-03 16:46 ` [bug#69526] [PATCH 01/10] gnu: Add rust-h3-0.0.2 Tomas Volf
@ 2024-03-03 16:46 ` Tomas Volf
  2024-03-03 16:46 ` [bug#69526] [PATCH 03/10] gnu: Add rust-event-listener-strategy-0.1 Tomas Volf
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-03 16:46 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-io.scm (rust-h3-quinn-0.0.3): New variable.

Change-Id: Iaf2c44a88f3376b7d1ff601739d2b992c99a31f1
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0def95ee60..0803353b68 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52242,6 +52242,32 @@ (define-public rust-h3-0.0.2
     (description "This library provides an async HTTP/3 implementation.")
     (license license:expat)))
 
+(define-public rust-h3-quinn-0.0.3
+  (package
+    (name "rust-h3-quinn")
+    (version "0.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "h3-quinn" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0kf6bqmm751gwj24dqgb2rrwq8ibhv7z5v7ix4pfiwz4ccbiljid"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+                       ("rust-futures" ,rust-futures-0.3)
+                       ("rust-h3" ,rust-h3-0.0.2)
+                       ("rust-quinn" ,rust-quinn-0.10)
+                       ("rust-quinn-proto" ,rust-quinn-proto-0.10)
+                       ("rust-tokio-util" ,rust-tokio-util-0.7))))
+    (home-page "https://github.com/hyperium/h3")
+    (synopsis "QUIC transport implementation based on Quinn")
+    (description "This library provides QUIC transport implementation based on
+Quinn.")
+    (license license:expat)))
+
 (define-public rust-quinn-0.10
   (package
     (name "rust-quinn")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH 03/10] gnu: Add rust-event-listener-strategy-0.1.
  2024-03-03 16:43 [bug#69526] [PATCH 00/10] Add aardvark-dns Tomas Volf
  2024-03-03 16:46 ` [bug#69526] [PATCH 01/10] gnu: Add rust-h3-0.0.2 Tomas Volf
  2024-03-03 16:46 ` [bug#69526] [PATCH 02/10] gnu: Add rust-h3-quinn-0.0.3 Tomas Volf
@ 2024-03-03 16:46 ` Tomas Volf
  2024-03-03 16:46 ` [bug#69526] [PATCH 04/10] gnu: Add rust-async-broadcast-0.6 Tomas Volf
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-03 16:46 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-io.scm (rust-event-listener-strategy-0.1): New variable.

Change-Id: I15b35f677c57ec5205ea140e65c1b70042fbf661
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0803353b68..f453ed50d9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22246,6 +22246,28 @@ (define-public rust-evdev-0.12
     (description "This package provides evdev interface for Linux.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-event-listener-strategy-0.1
+  (package
+    (name "rust-event-listener-strategy")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "event-listener-strategy" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1z99km9lwya36bxhvrz4rsl3nhqhhlnnx7a2gdz4nzpa6177pj8m"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-event-listener" ,rust-event-listener-3)
+                       ("rust-pin-project-lite" ,rust-pin-project-lite-0.2))))
+    (home-page "https://github.com/smol-rs/event-listener")
+    (synopsis "Easily block or poll on @code{event_listener}")
+    (description "This library provides the ability to block or poll on
+@code{event_listener} easily.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-event-listener-4
   (package
     (name "rust-event-listener")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH 04/10] gnu: Add rust-async-broadcast-0.6.
  2024-03-03 16:43 [bug#69526] [PATCH 00/10] Add aardvark-dns Tomas Volf
                   ` (2 preceding siblings ...)
  2024-03-03 16:46 ` [bug#69526] [PATCH 03/10] gnu: Add rust-event-listener-strategy-0.1 Tomas Volf
@ 2024-03-03 16:46 ` Tomas Volf
  2024-03-03 16:46 ` [bug#69526] [PATCH 05/10] gnu: Add rust-hickory-proto-0.24 Tomas Volf
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-03 16:46 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-io.scm (rust-async-broadcast-0.6): New variable.

Change-Id: I942490385b625fa6f0cdec6f2c3262b84f06b76b
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f453ed50d9..465b7c9bd1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3909,6 +3909,28 @@ (define-public rust-async-attributes-1
 Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-async-broadcast-0.6
+  (package
+    (name "rust-async-broadcast")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "async-broadcast" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0d1xk2pr5khk1radkbaf7pp7pbjkb18m43n2rgkfsfxk177pak9k"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-event-listener" ,rust-event-listener-3)
+                       ("rust-event-listener-strategy" ,rust-event-listener-strategy-0.1)
+                       ("rust-futures-core" ,rust-futures-core-0.3))))
+    (home-page "https://github.com/smol-rs/async-broadcast")
+    (synopsis "Async broadcast channels")
+    (description "This package provides async broadcast channels in Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-async-broadcast-0.5
   (package
     (name "rust-async-broadcast")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH 05/10] gnu: Add rust-hickory-proto-0.24.
  2024-03-03 16:43 [bug#69526] [PATCH 00/10] Add aardvark-dns Tomas Volf
                   ` (3 preceding siblings ...)
  2024-03-03 16:46 ` [bug#69526] [PATCH 04/10] gnu: Add rust-async-broadcast-0.6 Tomas Volf
@ 2024-03-03 16:46 ` Tomas Volf
  2024-03-03 16:46 ` [bug#69526] [PATCH 06/10] gnu: Add rust-hickory-client-0.24 Tomas Volf
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-03 16:46 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-io.scm (rust-hickory-proto-0.24): New variable.

Change-Id: I081dfc9d9f641c1aa132ba43194f561b45979700
---
 gnu/packages/crates-io.scm | 59 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 465b7c9bd1..556ae4905e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19873,6 +19873,65 @@ (define-public rust-dns-sd-0.1
     (description "Rust bindings for DNS Service Discovery (DNS-SD).")
     (license license:expat)))
 
+(define-public rust-hickory-proto-0.24
+  (package
+    (name "rust-hickory-proto")
+    (version "0.24.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hickory-proto" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1kxvdzmwwi1d6wsp9bcs91ipmwxcyhpwbvz3an9h0q28ryy6y6h9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+                       ("rust-backtrace" ,rust-backtrace-0.3)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-data-encoding" ,rust-data-encoding-2)
+                       ("rust-enum-as-inner" ,rust-enum-as-inner-0.6)
+                       ("rust-futures-channel" ,rust-futures-channel-0.3)
+                       ("rust-futures-io" ,rust-futures-io-0.3)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-h2" ,rust-h2-0.3)
+                       ("rust-h3" ,rust-h3-0.0.2)
+                       ("rust-h3-quinn" ,rust-h3-quinn-0.0.3)
+                       ("rust-http" ,rust-http-0.2)
+                       ("rust-idna" ,rust-idna-0.4)
+                       ("rust-ipnet" ,rust-ipnet-2)
+                       ("rust-js-sys" ,rust-js-sys-0.3)
+                       ("rust-native-tls" ,rust-native-tls-0.2)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-openssl" ,rust-openssl-0.10)
+                       ("rust-quinn" ,rust-quinn-0.10)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-ring" ,rust-ring-0.16)
+                       ("rust-rustls" ,rust-rustls-0.21)
+                       ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6)
+                       ("rust-rustls-pemfile" ,rust-rustls-pemfile-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-socket2" ,rust-socket2-0.5)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-tinyvec" ,rust-tinyvec-1)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)
+                       ("rust-tokio-openssl" ,rust-tokio-openssl-0.6)
+                       ("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
+                       ("rust-tracing" ,rust-tracing-0.1)
+                       ("rust-url" ,rust-url-2)
+                       ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+                       ("rust-webpki-roots" ,rust-webpki-roots-0.25))))
+    (home-page "https://hickory-dns.org/")
+    (synopsis
+     "Foundational DNS protocol library for all Hickory DNS projects")
+    (description
+     "Hickory DNS is a safe and secure DNS library.  This is the foundational
+DNS protocol library for all Hickory DNS projects.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-doc-comment-0.3
   (package
     (name "rust-doc-comment")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH 06/10] gnu: Add rust-hickory-client-0.24.
  2024-03-03 16:43 [bug#69526] [PATCH 00/10] Add aardvark-dns Tomas Volf
                   ` (4 preceding siblings ...)
  2024-03-03 16:46 ` [bug#69526] [PATCH 05/10] gnu: Add rust-hickory-proto-0.24 Tomas Volf
@ 2024-03-03 16:46 ` Tomas Volf
  2024-03-03 16:46 ` [bug#69526] [PATCH 07/10] gnu: Add rust-hickory-resolver-0.24 Tomas Volf
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-03 16:46 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-io.scm (rust-hickory-client-0.24): New variable.

Change-Id: Ie56da0f56b3384476c8bbba26c3f19ba167765b9
---
 gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 556ae4905e..f9316a3ee7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19932,6 +19932,45 @@ (define-public rust-hickory-proto-0.24
 DNS protocol library for all Hickory DNS projects.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-hickory-client-0.24
+  (package
+    (name "rust-hickory-client")
+    (version "0.24.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hickory-client" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0bj6g69h86d7mbclrwaj7cgl1plr6pvllv8qn69xmpgh9h90hgkz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-data-encoding" ,rust-data-encoding-2)
+                       ("rust-futures-channel" ,rust-futures-channel-0.3)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-hickory-proto" ,rust-hickory-proto-0.24)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-radix-trie" ,rust-radix-trie-0.2)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-rustls" ,rust-rustls-0.21)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tracing" ,rust-tracing-0.1))))
+    (home-page "https://hickory-dns.org/")
+    (synopsis
+     "Client library for Hickory DNS, with DNSSEC support")
+    (description
+     "Hickory DNS is a safe and secure DNS library.  This is the Client
+library with DNSSEC support.  DNSSEC with NSEC validation for negative
+records, is complete.  The client supports dynamic DNS with SIG0 authenticated
+requests, implementing easy to use high level funtions.  Hickory DNS is based
+on the Tokio and Futures libraries, which means it should be easily integrated
+into other software that also use those libraries.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-doc-comment-0.3
   (package
     (name "rust-doc-comment")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH 07/10] gnu: Add rust-hickory-resolver-0.24.
  2024-03-03 16:43 [bug#69526] [PATCH 00/10] Add aardvark-dns Tomas Volf
                   ` (5 preceding siblings ...)
  2024-03-03 16:46 ` [bug#69526] [PATCH 06/10] gnu: Add rust-hickory-client-0.24 Tomas Volf
@ 2024-03-03 16:46 ` Tomas Volf
  2024-03-03 16:46 ` [bug#69526] [PATCH 08/10] gnu: Add rust-hickory-recursor-0.24 Tomas Volf
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-03 16:46 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-io.scm (rust-hickory-resolver-0.24): New variable.

Change-Id: Ib89f318cb23805a0f4b67c4b81be9bd45d00ce71
---
 gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f9316a3ee7..da4c49915e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19971,6 +19971,51 @@ (define-public rust-hickory-client-0.24
 into other software that also use those libraries.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-hickory-resolver-0.24
+  (package
+    (name "rust-hickory-resolver")
+    (version "0.24.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hickory-resolver" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1s3486qczv9gaw8dap06c0bwb2bpqm23a0ihj169hsjf2qhz1f1m"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-hickory-proto" ,rust-hickory-proto-0.24)
+                       ("rust-ipconfig" ,rust-ipconfig-0.3)
+                       ("rust-lru-cache" ,rust-lru-cache-0.1)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-parking-lot" ,rust-parking-lot-0.12)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-resolv-conf" ,rust-resolv-conf-0.7)
+                       ("rust-rustls" ,rust-rustls-0.21)
+                       ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-smallvec" ,rust-smallvec-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)
+                       ("rust-tokio-openssl" ,rust-tokio-openssl-0.6)
+                       ("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
+                       ("rust-tracing" ,rust-tracing-0.1)
+                       ("rust-webpki-roots" ,rust-webpki-roots-0.25))))
+    (home-page "https://hickory-dns.org/")
+    (synopsis
+     "Hickory DNS Resolver is a safe and secure DNS library built on top of
+tokio's @code{async-io}")
+    (description
+     "Hickory DNS Resolver is a safe and secure DNS library.  The Resolver is
+intended to be a high-level library for any DNS record resolution, see
+@code{Resolver} and @code{AsyncResolver} for supported resolution types.  The
+@code{Client} can be used for other queries.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-doc-comment-0.3
   (package
     (name "rust-doc-comment")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH 08/10] gnu: Add rust-hickory-recursor-0.24.
  2024-03-03 16:43 [bug#69526] [PATCH 00/10] Add aardvark-dns Tomas Volf
                   ` (6 preceding siblings ...)
  2024-03-03 16:46 ` [bug#69526] [PATCH 07/10] gnu: Add rust-hickory-resolver-0.24 Tomas Volf
@ 2024-03-03 16:46 ` Tomas Volf
  2024-03-03 16:46 ` [bug#69526] [PATCH 09/10] gnu: Add rust-hickory-server-0.24 Tomas Volf
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-03 16:46 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-io.scm (rust-hickory-recursor-0.24): New variable.

Change-Id: Idf769dd93691a8d6fb8ff3b682be3b8a78acf564
---
 gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index da4c49915e..b25749734d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20016,6 +20016,48 @@ (define-public rust-hickory-resolver-0.24
 @code{Client} can be used for other queries.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-hickory-recursor-0.24
+  (package
+    (name "rust-hickory-recursor")
+    (version "0.24.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hickory-recursor" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "146ifrml22hjydrw16qgfw32kv3v9wvvl4dqh45pg6fymxvw8xgi"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-async-recursion" ,rust-async-recursion-1)
+                       ("rust-async-trait" ,rust-async-trait-0.1)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-enum-as-inner" ,rust-enum-as-inner-0.6)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-hickory-proto" ,rust-hickory-proto-0.24)
+                       ("rust-hickory-resolver" ,rust-hickory-resolver-0.24)
+                       ("rust-lru-cache" ,rust-lru-cache-0.1)
+                       ("rust-parking-lot" ,rust-parking-lot-0.12)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tracing" ,rust-tracing-0.1))))
+    (home-page "https://hickory-dns.org/")
+    (synopsis
+     "Hickory DNS Recursor is a safe and secure DNS recursive resolver with
+DNSSEC support")
+    (description
+     "*WARNING* This library is experimental
+
+Hickory DNS Recursor is a safe and secure DNS recursive resolver with DNSSEC
+support.  Hickory DNS is based on the Tokio and Futures libraries, which means
+it should be easily integrated into other software that also use those
+libraries.  This library can be used as in the server and binary for
+performing recursive lookups.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-doc-comment-0.3
   (package
     (name "rust-doc-comment")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH 09/10] gnu: Add rust-hickory-server-0.24.
  2024-03-03 16:43 [bug#69526] [PATCH 00/10] Add aardvark-dns Tomas Volf
                   ` (7 preceding siblings ...)
  2024-03-03 16:46 ` [bug#69526] [PATCH 08/10] gnu: Add rust-hickory-recursor-0.24 Tomas Volf
@ 2024-03-03 16:46 ` Tomas Volf
  2024-03-03 16:46 ` [bug#69526] [PATCH 10/10] gnu: Add aardvark-dns Tomas Volf
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-03 16:46 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-io.scm (rust-hickory-server-0.24): New variable.

Change-Id: I9241329aab12ec5116c317eb89e3b697625b3f99
---
 gnu/packages/crates-io.scm | 52 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b25749734d..98c32d9e56 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20058,6 +20058,58 @@ (define-public rust-hickory-recursor-0.24
 performing recursive lookups.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-hickory-server-0.24
+  (package
+    (name "rust-hickory-server")
+    (version "0.24.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hickory-server" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1dbwsrmxgf9nxkn3cp5fpjw96wywrzihbirjax25dd6wqidv9fsg"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+                       ("rust-basic-toml" ,rust-basic-toml-0.1)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-enum-as-inner" ,rust-enum-as-inner-0.6)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-h2" ,rust-h2-0.3)
+                       ("rust-h3" ,rust-h3-0.0.2)
+                       ("rust-h3-quinn" ,rust-h3-quinn-0.0.3)
+                       ("rust-hickory-proto" ,rust-hickory-proto-0.24)
+                       ("rust-hickory-recursor" ,rust-hickory-recursor-0.24)
+                       ("rust-hickory-resolver" ,rust-hickory-resolver-0.24)
+                       ("rust-http" ,rust-http-0.2)
+                       ("rust-openssl" ,rust-openssl-0.10)
+                       ("rust-rusqlite" ,rust-rusqlite-0.29)
+                       ("rust-rustls" ,rust-rustls-0.21)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-time" ,rust-time-0.3)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tokio-openssl" ,rust-tokio-openssl-0.6)
+                       ("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
+                       ("rust-tokio-util" ,rust-tokio-util-0.7)
+                       ("rust-tracing" ,rust-tracing-0.1))))
+    (home-page "https://hickory-dns.org/")
+    (synopsis
+     "Hickory DNS Server is a safe and secure DNS server with DNSSEC
+support")
+    (description
+     "Hickory DNS Server is a safe and secure DNS server with DNSSEC support.
+Eventually this could be a replacement for BIND9.  The DNSSEC support allows
+for live signing of all records, in it does not currently support records
+signed offline.  The server supports dynamic DNS with SIG0 authenticated
+requests.  Hickory DNS is based on the Tokio and Futures libraries, which
+means it should be easily integrated into other software that also use those
+libraries.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-doc-comment-0.3
   (package
     (name "rust-doc-comment")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH 10/10] gnu: Add aardvark-dns.
  2024-03-03 16:43 [bug#69526] [PATCH 00/10] Add aardvark-dns Tomas Volf
                   ` (8 preceding siblings ...)
  2024-03-03 16:46 ` [bug#69526] [PATCH 09/10] gnu: Add rust-hickory-server-0.24 Tomas Volf
@ 2024-03-03 16:46 ` Tomas Volf
  2024-03-04  7:17 ` [bug#69526] [PATCH 00/10] " Efraim Flashner
  2024-03-04 23:19 ` [bug#69526] [PATCH v2 01/10] gnu: Add rust-h3-0.0.2 Tomas Volf
  11 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-03 16:46 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/rust-apps.scm (aardvark-dns): New variable.

Change-Id: If0cb81d7739e72d93a342ffa43f57129421ff691
---
 gnu/packages/rust-apps.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 01e01ecba3..c64f4990c5 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -3048,3 +3048,36 @@ (define-public htmlq
     (synopsis "Like jq, but for HTML")
     (description "Extract content from HTML files using CSS selectors.")
     (license license:expat)))
+
+(define-public aardvark-dns
+  (package
+    (name "aardvark-dns")
+    (version "1.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aardvark-dns" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ldqv9v3v9a1m2kka660d5v15y2zasy5z7m4fh5hif74r089cx6x"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-async-broadcast" ,rust-async-broadcast-0.6)
+                       ("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-clap" ,rust-clap-4)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-hickory-client" ,rust-hickory-client-0.24)
+                       ("rust-hickory-proto" ,rust-hickory-proto-0.24)
+                       ("rust-hickory-server" ,rust-hickory-server-0.24)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-nix" ,rust-nix-0.27)
+                       ("rust-resolv-conf" ,rust-resolv-conf-0.7)
+                       ("rust-signal-hook" ,rust-signal-hook-0.3)
+                       ("rust-syslog" ,rust-syslog-6)
+                       ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/containers/aardvark-dns")
+    (synopsis "Container-focused DNS server")
+    (description "This package provides a container-focused DNS server.")
+    (license license:asl2.0)))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH 00/10] Add aardvark-dns.
  2024-03-03 16:43 [bug#69526] [PATCH 00/10] Add aardvark-dns Tomas Volf
                   ` (9 preceding siblings ...)
  2024-03-03 16:46 ` [bug#69526] [PATCH 10/10] gnu: Add aardvark-dns Tomas Volf
@ 2024-03-04  7:17 ` Efraim Flashner
  2024-03-04 17:46   ` Tomas Volf
  2024-03-04 23:19 ` [bug#69526] [PATCH v2 01/10] gnu: Add rust-h3-0.0.2 Tomas Volf
  11 siblings, 1 reply; 24+ messages in thread
From: Efraim Flashner @ 2024-03-04  7:17 UTC (permalink / raw)
  To: Tomas Volf; +Cc: 69526

[-- Attachment #1: Type: text/plain, Size: 1556 bytes --]

The good news is it looks like this can be applied straight to the
master branch. Can you send a second round with a couple of changes?

On Sun, Mar 03, 2024 at 05:43:04PM +0100, Tomas Volf wrote:
> This series adds aardvark-dns, which will be required for 5.0 version of
> podman.
> 
> Tomas Volf (10):
>   gnu: Add rust-h3-0.0.2.
This should be in crates-web and inherit from rust-h3-0.0.3

>   gnu: Add rust-h3-quinn-0.0.3.
This should be in crates-web and inherit from rust-h3-quinn-0.0.4

>   gnu: Add rust-event-listener-strategy-0.1.
This should be after rust-event-listener-strategy-0.4 and inherit from
it.

>   gnu: Add rust-async-broadcast-0.6.
rust-async-broadcast-0.5 should inherit from this package

>   gnu: Add rust-hickory-proto-0.24.
>   gnu: Add rust-hickory-client-0.24.
>   gnu: Add rust-hickory-resolver-0.24.
>   gnu: Add rust-hickory-recursor-0.24.
>   gnu: Add rust-hickory-server-0.24.
These should be in crates-web and inserted and sorted alphabetically

>   gnu: Add aardvark-dns.
This should have '#:install-source #f' in arguments

> 
>  gnu/packages/crates-io.scm | 332 +++++++++++++++++++++++++++++++++++++
>  gnu/packages/rust-apps.scm |  33 ++++
>  2 files changed, 365 insertions(+)
> 
> 
> base-commit: f00f56514d90ebba5d9e08ec786c8118e437097c
> --
> 2.41.0
> 
> 

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH 00/10] Add aardvark-dns.
  2024-03-04  7:17 ` [bug#69526] [PATCH 00/10] " Efraim Flashner
@ 2024-03-04 17:46   ` Tomas Volf
  2024-03-05  8:21     ` bug#69526: " Efraim Flashner
  0 siblings, 1 reply; 24+ messages in thread
From: Tomas Volf @ 2024-03-04 17:46 UTC (permalink / raw)
  To: Efraim Flashner, 69526

[-- Attachment #1: Type: text/plain, Size: 2215 bytes --]

On 2024-03-04 09:17:06 +0200, Efraim Flashner wrote:
> The good news is it looks like this can be applied straight to the
> master branch. Can you send a second round with a couple of changes?

Thank you very much for the fast review, and sorry for there being so many
issues.  I will send a v2.

>
> On Sun, Mar 03, 2024 at 05:43:04PM +0100, Tomas Volf wrote:
> > This series adds aardvark-dns, which will be required for 5.0 version of
> > podman.
> >
> > Tomas Volf (10):
> >   gnu: Add rust-h3-0.0.2.
> This should be in crates-web and inherit from rust-h3-0.0.3
>
> >   gnu: Add rust-h3-quinn-0.0.3.
> This should be in crates-web and inherit from rust-h3-quinn-0.0.4
>
> >   gnu: Add rust-event-listener-strategy-0.1.
> This should be after rust-event-listener-strategy-0.4 and inherit from
> it.
>
> >   gnu: Add rust-async-broadcast-0.6.
> rust-async-broadcast-0.5 should inherit from this package

Done, I hope correctly.

>
> >   gnu: Add rust-hickory-proto-0.24.
> >   gnu: Add rust-hickory-client-0.24.
> >   gnu: Add rust-hickory-resolver-0.24.
> >   gnu: Add rust-hickory-recursor-0.24.
> >   gnu: Add rust-hickory-server-0.24.
> These should be in crates-web

I have to admit I am sometimes bit confused by the -io and -web split.  For
example, why does DNS library and server belong into -web?

> and inserted and sorted alphabetically

I did not know the order in the .scm files does not matter, I tried to add them
in order of use.  Will sort.

>
> >   gnu: Add aardvark-dns.
> This should have '#:install-source #f' in arguments

Done.
>
> >
> >  gnu/packages/crates-io.scm | 332 +++++++++++++++++++++++++++++++++++++
> >  gnu/packages/rust-apps.scm |  33 ++++
> >  2 files changed, 365 insertions(+)
> >
> >
> > base-commit: f00f56514d90ebba5d9e08ec786c8118e437097c
> > --
> > 2.41.0
> >
> >
>
> --
> Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
> GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted



--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH v2 01/10] gnu: Add rust-h3-0.0.2.
  2024-03-03 16:43 [bug#69526] [PATCH 00/10] Add aardvark-dns Tomas Volf
                   ` (10 preceding siblings ...)
  2024-03-04  7:17 ` [bug#69526] [PATCH 00/10] " Efraim Flashner
@ 2024-03-04 23:19 ` Tomas Volf
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 02/10] gnu: Add rust-h3-quinn-0.0.3 Tomas Volf
                     ` (8 more replies)
  11 siblings, 9 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-04 23:19 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-web.scm (rust-h3-0.0.2): New variable.

Change-Id: I511f9bd64db17d12c38d2708e9dc1bd93b347667
---
v2: Move to -web.  Inherit from rust-h3-0.0.3.

 gnu/packages/crates-web.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 6650c26913..fe4945cf90 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2045,6 +2045,27 @@ (define-public rust-h3-0.0.3
     (description "This package provides an async HTTP/3 implementation.")
     (license license:expat)))

+(define-public rust-h3-0.0.2
+  (package
+    (inherit rust-h3-0.0.3)
+    (name "rust-h3")
+    (version "0.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "h3" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17nbmkz6xs848257xv7gdhrnhyhagfb0dbqla82zv1nixr1wmrkd"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+                       ("rust-fastrand" ,rust-fastrand-1)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-http" ,rust-http-0.2)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tracing" ,rust-tracing-0.1))))))
+
 (define-public rust-h3-quinn-0.0.4
   (package
     (name "rust-h3-quinn")

base-commit: f00f56514d90ebba5d9e08ec786c8118e437097c
--
2.41.0




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH v2 02/10] gnu: Add rust-h3-quinn-0.0.3.
  2024-03-04 23:19 ` [bug#69526] [PATCH v2 01/10] gnu: Add rust-h3-0.0.2 Tomas Volf
@ 2024-03-04 23:19   ` Tomas Volf
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 03/10] gnu: Add rust-event-listener-strategy-0.1 Tomas Volf
                     ` (7 subsequent siblings)
  8 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-04 23:19 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-web.scm (rust-h3-quinn-0.0.3): New variable.

Change-Id: Ib9012197310f4c862d9b0aedfbdd8259955f78e2
---
v2: Move to -web.  Inherit from rust-h3-quinn-0.0.4.

 gnu/packages/crates-web.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index fe4945cf90..707d4eaaec 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2092,6 +2092,27 @@ (define-public rust-h3-quinn-0.0.4
      "This package provides QUIC transport implementation based on Quinn.")
     (license license:expat)))

+(define-public rust-h3-quinn-0.0.3
+  (package
+    (inherit rust-h3-quinn-0.0.4)
+    (name "rust-h3-quinn")
+    (version "0.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "h3-quinn" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0kf6bqmm751gwj24dqgb2rrwq8ibhv7z5v7ix4pfiwz4ccbiljid"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+                       ("rust-futures" ,rust-futures-0.3)
+                       ("rust-h3" ,rust-h3-0.0.2)
+                       ("rust-quinn" ,rust-quinn-0.10)
+                       ("rust-quinn-proto" ,rust-quinn-proto-0.10)
+                       ("rust-tokio-util" ,rust-tokio-util-0.7))))))
+
 (define-public rust-headers-0.3
   (package
     (name "rust-headers")
--
2.41.0




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH v2 03/10] gnu: Add rust-event-listener-strategy-0.1.
  2024-03-04 23:19 ` [bug#69526] [PATCH v2 01/10] gnu: Add rust-h3-0.0.2 Tomas Volf
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 02/10] gnu: Add rust-h3-quinn-0.0.3 Tomas Volf
@ 2024-03-04 23:19   ` Tomas Volf
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 04/10] gnu: Add rust-async-broadcast-0.6 Tomas Volf
                     ` (6 subsequent siblings)
  8 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-04 23:19 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-io.scm (rust-event-listener-strategy-0.1): New variable.

Change-Id: I15b35f677c57ec5205ea140e65c1b70042fbf661
---
v2: Inherit from rust-event-listener-strategy-0.4.

 gnu/packages/crates-io.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aaf2157661..e2e2f40907 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22343,6 +22343,23 @@ (define-public rust-event-listener-strategy-0.4
     (description "This package provides block and poll on event_listener.")
     (license (list license:asl2.0 license:expat))))

+(define-public rust-event-listener-strategy-0.1
+  (package
+    (inherit rust-event-listener-strategy-0.4)
+    (name "rust-event-listener-strategy")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "event-listener-strategy" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1z99km9lwya36bxhvrz4rsl3nhqhhlnnx7a2gdz4nzpa6177pj8m"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-event-listener" ,rust-event-listener-3)
+                       ("rust-pin-project-lite" ,rust-pin-project-lite-0.2))))))
+
 (define-public rust-executable-path-1
   (package
     (name "rust-executable-path")
--
2.41.0




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH v2 04/10] gnu: Add rust-async-broadcast-0.6.
  2024-03-04 23:19 ` [bug#69526] [PATCH v2 01/10] gnu: Add rust-h3-0.0.2 Tomas Volf
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 02/10] gnu: Add rust-h3-quinn-0.0.3 Tomas Volf
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 03/10] gnu: Add rust-event-listener-strategy-0.1 Tomas Volf
@ 2024-03-04 23:19   ` Tomas Volf
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 05/10] gnu: Add rust-hickory-proto-0.24 Tomas Volf
                     ` (5 subsequent siblings)
  8 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-04 23:19 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-io.scm (rust-async-broadcast-0.6): New variable.
(rust-async-broadcast-0.5): Inherit from it.

Change-Id: I942490385b625fa6f0cdec6f2c3262b84f06b76b
---
v2: rust-async-broadcast-0.5 now inherits from -0.6.

 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++------
 1 file changed, 24 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e2e2f40907..18e52f6f71 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3909,8 +3909,31 @@ (define-public rust-async-attributes-1
 Rust.")
     (license (list license:expat license:asl2.0))))

+(define-public rust-async-broadcast-0.6
+  (package
+    (name "rust-async-broadcast")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "async-broadcast" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0d1xk2pr5khk1radkbaf7pp7pbjkb18m43n2rgkfsfxk177pak9k"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-event-listener" ,rust-event-listener-3)
+                       ("rust-event-listener-strategy" ,rust-event-listener-strategy-0.1)
+                       ("rust-futures-core" ,rust-futures-core-0.3))))
+    (home-page "https://github.com/smol-rs/async-broadcast")
+    (synopsis "Async broadcast channels")
+    (description "This package provides async broadcast channels in Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-async-broadcast-0.5
   (package
+    (inherit rust-async-broadcast-0.6)
     (name "rust-async-broadcast")
     (version "0.5.1")
     (source (origin
@@ -3920,7 +3943,6 @@ (define-public rust-async-broadcast-0.5
               (sha256
                (base32
                 "0avdqbci1qdlfc4glc3wqrb0wi5ffc7bqv2q1wg14syayvdwqj3w"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-event-listener" ,rust-event-listener-2)
@@ -3930,11 +3952,7 @@ (define-public rust-async-broadcast-0.5
         ("rust-doc-comment" ,rust-doc-comment-0.3)
         ("rust-easy-parallel" ,rust-easy-parallel-3)
         ("rust-futures-lite" ,rust-futures-lite-1)
-        ("rust-futures-util" ,rust-futures-util-0.3))))
-    (home-page "https://github.com/smol-rs/async-broadcast")
-    (synopsis "Async broadcast channels")
-    (description "This package provides async broadcast channels in Rust.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-futures-util" ,rust-futures-util-0.3))))))

 (define-public rust-async-channel-2
   (package
--
2.41.0




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH v2 05/10] gnu: Add rust-hickory-proto-0.24.
  2024-03-04 23:19 ` [bug#69526] [PATCH v2 01/10] gnu: Add rust-h3-0.0.2 Tomas Volf
                     ` (2 preceding siblings ...)
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 04/10] gnu: Add rust-async-broadcast-0.6 Tomas Volf
@ 2024-03-04 23:19   ` Tomas Volf
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 06/10] gnu: Add rust-hickory-resolver-0.24 Tomas Volf
                     ` (4 subsequent siblings)
  8 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-04 23:19 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-web.scm (rust-hickory-proto-0.24): New variable.

Change-Id: I0bf90d9b78fa830f8b61444c4cdb610c715d4d63
---
v2: Move to -web.

 gnu/packages/crates-web.scm | 59 +++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 707d4eaaec..78bbc6ddcf 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2113,6 +2113,65 @@ (define-public rust-h3-quinn-0.0.3
                        ("rust-quinn-proto" ,rust-quinn-proto-0.10)
                        ("rust-tokio-util" ,rust-tokio-util-0.7))))))

+(define-public rust-hickory-proto-0.24
+  (package
+    (name "rust-hickory-proto")
+    (version "0.24.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hickory-proto" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1kxvdzmwwi1d6wsp9bcs91ipmwxcyhpwbvz3an9h0q28ryy6y6h9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+                       ("rust-backtrace" ,rust-backtrace-0.3)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-data-encoding" ,rust-data-encoding-2)
+                       ("rust-enum-as-inner" ,rust-enum-as-inner-0.6)
+                       ("rust-futures-channel" ,rust-futures-channel-0.3)
+                       ("rust-futures-io" ,rust-futures-io-0.3)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-h2" ,rust-h2-0.3)
+                       ("rust-h3" ,rust-h3-0.0.2)
+                       ("rust-h3-quinn" ,rust-h3-quinn-0.0.3)
+                       ("rust-http" ,rust-http-0.2)
+                       ("rust-idna" ,rust-idna-0.4)
+                       ("rust-ipnet" ,rust-ipnet-2)
+                       ("rust-js-sys" ,rust-js-sys-0.3)
+                       ("rust-native-tls" ,rust-native-tls-0.2)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-openssl" ,rust-openssl-0.10)
+                       ("rust-quinn" ,rust-quinn-0.10)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-ring" ,rust-ring-0.16)
+                       ("rust-rustls" ,rust-rustls-0.21)
+                       ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6)
+                       ("rust-rustls-pemfile" ,rust-rustls-pemfile-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-socket2" ,rust-socket2-0.5)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-tinyvec" ,rust-tinyvec-1)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)
+                       ("rust-tokio-openssl" ,rust-tokio-openssl-0.6)
+                       ("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
+                       ("rust-tracing" ,rust-tracing-0.1)
+                       ("rust-url" ,rust-url-2)
+                       ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+                       ("rust-webpki-roots" ,rust-webpki-roots-0.25))))
+    (home-page "https://hickory-dns.org/")
+    (synopsis
+     "Foundational DNS protocol library for all Hickory DNS projects")
+    (description
+     "Hickory DNS is a safe and secure DNS library.  This is the foundational
+DNS protocol library for all Hickory DNS projects.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-headers-0.3
   (package
     (name "rust-headers")
--
2.41.0




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH v2 06/10] gnu: Add rust-hickory-resolver-0.24.
  2024-03-04 23:19 ` [bug#69526] [PATCH v2 01/10] gnu: Add rust-h3-0.0.2 Tomas Volf
                     ` (3 preceding siblings ...)
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 05/10] gnu: Add rust-hickory-proto-0.24 Tomas Volf
@ 2024-03-04 23:19   ` Tomas Volf
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 07/10] gnu: Add rust-hickory-recursor-0.24 Tomas Volf
                     ` (3 subsequent siblings)
  8 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-04 23:19 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-web.scm (rust-hickory-resolver-0.24): New variable.

Change-Id: I863039f4524ebcadf91bac3f26f62c65268b5de7
---
v2: Move to -web.

 gnu/packages/crates-web.scm | 45 +++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 78bbc6ddcf..701053f878 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2172,6 +2172,51 @@ (define-public rust-hickory-proto-0.24
 DNS protocol library for all Hickory DNS projects.")
     (license (list license:expat license:asl2.0))))

+(define-public rust-hickory-resolver-0.24
+  (package
+    (name "rust-hickory-resolver")
+    (version "0.24.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hickory-resolver" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1s3486qczv9gaw8dap06c0bwb2bpqm23a0ihj169hsjf2qhz1f1m"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-hickory-proto" ,rust-hickory-proto-0.24)
+                       ("rust-ipconfig" ,rust-ipconfig-0.3)
+                       ("rust-lru-cache" ,rust-lru-cache-0.1)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-parking-lot" ,rust-parking-lot-0.12)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-resolv-conf" ,rust-resolv-conf-0.7)
+                       ("rust-rustls" ,rust-rustls-0.21)
+                       ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-smallvec" ,rust-smallvec-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)
+                       ("rust-tokio-openssl" ,rust-tokio-openssl-0.6)
+                       ("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
+                       ("rust-tracing" ,rust-tracing-0.1)
+                       ("rust-webpki-roots" ,rust-webpki-roots-0.25))))
+    (home-page "https://hickory-dns.org/")
+    (synopsis
+     "Hickory DNS Resolver is a safe and secure DNS library built on top of
+tokio's @code{async-io}")
+    (description
+     "Hickory DNS Resolver is a safe and secure DNS library.  The Resolver is
+intended to be a high-level library for any DNS record resolution, see
+@code{Resolver} and @code{AsyncResolver} for supported resolution types.  The
+@code{Client} can be used for other queries.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-headers-0.3
   (package
     (name "rust-headers")
--
2.41.0




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH v2 07/10] gnu: Add rust-hickory-recursor-0.24.
  2024-03-04 23:19 ` [bug#69526] [PATCH v2 01/10] gnu: Add rust-h3-0.0.2 Tomas Volf
                     ` (4 preceding siblings ...)
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 06/10] gnu: Add rust-hickory-resolver-0.24 Tomas Volf
@ 2024-03-04 23:19   ` Tomas Volf
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 08/10] gnu: Add rust-hickory-client-0.24 Tomas Volf
                     ` (2 subsequent siblings)
  8 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-04 23:19 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-web.scm (rust-hickory-recursor-0.24): New variable.

Change-Id: I93348b33c4d82b8cf2187ec61e67791c114a721d
---
v2: Move to -web.

 gnu/packages/crates-web.scm | 42 +++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 701053f878..05f2f98a58 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2172,6 +2172,48 @@ (define-public rust-hickory-proto-0.24
 DNS protocol library for all Hickory DNS projects.")
     (license (list license:expat license:asl2.0))))

+(define-public rust-hickory-recursor-0.24
+  (package
+    (name "rust-hickory-recursor")
+    (version "0.24.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hickory-recursor" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "146ifrml22hjydrw16qgfw32kv3v9wvvl4dqh45pg6fymxvw8xgi"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-async-recursion" ,rust-async-recursion-1)
+                       ("rust-async-trait" ,rust-async-trait-0.1)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-enum-as-inner" ,rust-enum-as-inner-0.6)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-hickory-proto" ,rust-hickory-proto-0.24)
+                       ("rust-hickory-resolver" ,rust-hickory-resolver-0.24)
+                       ("rust-lru-cache" ,rust-lru-cache-0.1)
+                       ("rust-parking-lot" ,rust-parking-lot-0.12)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tracing" ,rust-tracing-0.1))))
+    (home-page "https://hickory-dns.org/")
+    (synopsis
+     "Hickory DNS Recursor is a safe and secure DNS recursive resolver with
+DNSSEC support")
+    (description
+     "*WARNING* This library is experimental
+
+Hickory DNS Recursor is a safe and secure DNS recursive resolver with DNSSEC
+support.  Hickory DNS is based on the Tokio and Futures libraries, which means
+it should be easily integrated into other software that also use those
+libraries.  This library can be used as in the server and binary for
+performing recursive lookups.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-hickory-resolver-0.24
   (package
     (name "rust-hickory-resolver")
--
2.41.0




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH v2 08/10] gnu: Add rust-hickory-client-0.24.
  2024-03-04 23:19 ` [bug#69526] [PATCH v2 01/10] gnu: Add rust-h3-0.0.2 Tomas Volf
                     ` (5 preceding siblings ...)
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 07/10] gnu: Add rust-hickory-recursor-0.24 Tomas Volf
@ 2024-03-04 23:19   ` Tomas Volf
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 09/10] gnu: Add rust-hickory-server-0.24 Tomas Volf
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 10/10] gnu: Add aardvark-dns Tomas Volf
  8 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-04 23:19 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-web.scm (rust-hickory-client-0.24): New variable.

Change-Id: I0fcaf5d82837d2d380171faae0bcddd281e55826
---
v2: Move to -web.

 gnu/packages/crates-web.scm | 39 +++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 05f2f98a58..53d97db1c3 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2113,6 +2113,45 @@ (define-public rust-h3-quinn-0.0.3
                        ("rust-quinn-proto" ,rust-quinn-proto-0.10)
                        ("rust-tokio-util" ,rust-tokio-util-0.7))))))

+(define-public rust-hickory-client-0.24
+  (package
+    (name "rust-hickory-client")
+    (version "0.24.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hickory-client" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0bj6g69h86d7mbclrwaj7cgl1plr6pvllv8qn69xmpgh9h90hgkz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-data-encoding" ,rust-data-encoding-2)
+                       ("rust-futures-channel" ,rust-futures-channel-0.3)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-hickory-proto" ,rust-hickory-proto-0.24)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-radix-trie" ,rust-radix-trie-0.2)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-rustls" ,rust-rustls-0.21)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tracing" ,rust-tracing-0.1))))
+    (home-page "https://hickory-dns.org/")
+    (synopsis
+     "Client library for Hickory DNS, with DNSSEC support")
+    (description
+     "Hickory DNS is a safe and secure DNS library.  This is the Client
+library with DNSSEC support.  DNSSEC with NSEC validation for negative
+records, is complete.  The client supports dynamic DNS with SIG0 authenticated
+requests, implementing easy to use high level funtions.  Hickory DNS is based
+on the Tokio and Futures libraries, which means it should be easily integrated
+into other software that also use those libraries.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-hickory-proto-0.24
   (package
     (name "rust-hickory-proto")
--
2.41.0




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH v2 09/10] gnu: Add rust-hickory-server-0.24.
  2024-03-04 23:19 ` [bug#69526] [PATCH v2 01/10] gnu: Add rust-h3-0.0.2 Tomas Volf
                     ` (6 preceding siblings ...)
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 08/10] gnu: Add rust-hickory-client-0.24 Tomas Volf
@ 2024-03-04 23:19   ` Tomas Volf
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 10/10] gnu: Add aardvark-dns Tomas Volf
  8 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-04 23:19 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/crates-web.scm (rust-hickory-server-0.24): New variable.

Change-Id: I3bde5a809f68e6f161286b7630dfc97d3a68ba51
---
v2: Move to -web.

 gnu/packages/crates-web.scm | 52 +++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 53d97db1c3..57425a391f 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2298,6 +2298,58 @@ (define-public rust-hickory-resolver-0.24
 @code{Client} can be used for other queries.")
     (license (list license:expat license:asl2.0))))

+(define-public rust-hickory-server-0.24
+  (package
+    (name "rust-hickory-server")
+    (version "0.24.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hickory-server" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1dbwsrmxgf9nxkn3cp5fpjw96wywrzihbirjax25dd6wqidv9fsg"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+                       ("rust-basic-toml" ,rust-basic-toml-0.1)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-enum-as-inner" ,rust-enum-as-inner-0.6)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-h2" ,rust-h2-0.3)
+                       ("rust-h3" ,rust-h3-0.0.2)
+                       ("rust-h3-quinn" ,rust-h3-quinn-0.0.3)
+                       ("rust-hickory-proto" ,rust-hickory-proto-0.24)
+                       ("rust-hickory-recursor" ,rust-hickory-recursor-0.24)
+                       ("rust-hickory-resolver" ,rust-hickory-resolver-0.24)
+                       ("rust-http" ,rust-http-0.2)
+                       ("rust-openssl" ,rust-openssl-0.10)
+                       ("rust-rusqlite" ,rust-rusqlite-0.29)
+                       ("rust-rustls" ,rust-rustls-0.21)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-time" ,rust-time-0.3)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tokio-openssl" ,rust-tokio-openssl-0.6)
+                       ("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
+                       ("rust-tokio-util" ,rust-tokio-util-0.7)
+                       ("rust-tracing" ,rust-tracing-0.1))))
+    (home-page "https://hickory-dns.org/")
+    (synopsis
+     "Hickory DNS Server is a safe and secure DNS server with DNSSEC
+support")
+    (description
+     "Hickory DNS Server is a safe and secure DNS server with DNSSEC support.
+Eventually this could be a replacement for BIND9.  The DNSSEC support allows
+for live signing of all records, in it does not currently support records
+signed offline.  The server supports dynamic DNS with SIG0 authenticated
+requests.  Hickory DNS is based on the Tokio and Futures libraries, which
+means it should be easily integrated into other software that also use those
+libraries.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-headers-0.3
   (package
     (name "rust-headers")
--
2.41.0




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#69526] [PATCH v2 10/10] gnu: Add aardvark-dns.
  2024-03-04 23:19 ` [bug#69526] [PATCH v2 01/10] gnu: Add rust-h3-0.0.2 Tomas Volf
                     ` (7 preceding siblings ...)
  2024-03-04 23:19   ` [bug#69526] [PATCH v2 09/10] gnu: Add rust-hickory-server-0.24 Tomas Volf
@ 2024-03-04 23:19   ` Tomas Volf
  8 siblings, 0 replies; 24+ messages in thread
From: Tomas Volf @ 2024-03-04 23:19 UTC (permalink / raw)
  To: 69526; +Cc: Tomas Volf, Efraim Flashner

* gnu/packages/rust-apps.scm (aardvark-dns): New variable.

Change-Id: If0cb81d7739e72d93a342ffa43f57129421ff691
---
v2: Do not install source.

 gnu/packages/rust-apps.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 01e01ecba3..cfb9ffa1e0 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -3048,3 +3048,37 @@ (define-public htmlq
     (synopsis "Like jq, but for HTML")
     (description "Extract content from HTML files using CSS selectors.")
     (license license:expat)))
+
+(define-public aardvark-dns
+  (package
+    (name "aardvark-dns")
+    (version "1.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aardvark-dns" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ldqv9v3v9a1m2kka660d5v15y2zasy5z7m4fh5hif74r089cx6x"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:install-source? #f
+       #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-async-broadcast" ,rust-async-broadcast-0.6)
+                       ("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-clap" ,rust-clap-4)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-hickory-client" ,rust-hickory-client-0.24)
+                       ("rust-hickory-proto" ,rust-hickory-proto-0.24)
+                       ("rust-hickory-server" ,rust-hickory-server-0.24)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-nix" ,rust-nix-0.27)
+                       ("rust-resolv-conf" ,rust-resolv-conf-0.7)
+                       ("rust-signal-hook" ,rust-signal-hook-0.3)
+                       ("rust-syslog" ,rust-syslog-6)
+                       ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/containers/aardvark-dns")
+    (synopsis "Container-focused DNS server")
+    (description "This package provides a container-focused DNS server.")
+    (license license:asl2.0)))
--
2.41.0




^ permalink raw reply related	[flat|nested] 24+ messages in thread

* bug#69526: [PATCH 00/10] Add aardvark-dns.
  2024-03-04 17:46   ` Tomas Volf
@ 2024-03-05  8:21     ` Efraim Flashner
  0 siblings, 0 replies; 24+ messages in thread
From: Efraim Flashner @ 2024-03-05  8:21 UTC (permalink / raw)
  To: Tomas Volf; +Cc: 69526-done

[-- Attachment #1: Type: text/plain, Size: 3140 bytes --]

Thanks! Patches pushed.

On Mon, Mar 04, 2024 at 06:46:47PM +0100, Tomas Volf wrote:
> On 2024-03-04 09:17:06 +0200, Efraim Flashner wrote:
> > The good news is it looks like this can be applied straight to the
> > master branch. Can you send a second round with a couple of changes?
> 
> Thank you very much for the fast review, and sorry for there being so many
> issues.  I will send a v2.

Not so many issues :)

> >
> > On Sun, Mar 03, 2024 at 05:43:04PM +0100, Tomas Volf wrote:
> > > This series adds aardvark-dns, which will be required for 5.0 version of
> > > podman.
> > >
> > > Tomas Volf (10):
> > >   gnu: Add rust-h3-0.0.2.
> > This should be in crates-web and inherit from rust-h3-0.0.3
> >
> > >   gnu: Add rust-h3-quinn-0.0.3.
> > This should be in crates-web and inherit from rust-h3-quinn-0.0.4
> >
> > >   gnu: Add rust-event-listener-strategy-0.1.
> > This should be after rust-event-listener-strategy-0.4 and inherit from
> > it.
> >
> > >   gnu: Add rust-async-broadcast-0.6.
> > rust-async-broadcast-0.5 should inherit from this package
> 
> Done, I hope correctly.

Yep, all looks good.

> >
> > >   gnu: Add rust-hickory-proto-0.24.
> > >   gnu: Add rust-hickory-client-0.24.
> > >   gnu: Add rust-hickory-resolver-0.24.
> > >   gnu: Add rust-hickory-recursor-0.24.
> > >   gnu: Add rust-hickory-server-0.24.
> > These should be in crates-web
> 
> I have to admit I am sometimes bit confused by the -io and -web split.  For
> example, why does DNS library and server belong into -web?

crates-io was getting way too big so I tried to find similar packages to
split off into their own modules.  I found some packages related to web
servers and their "neighbor" packages (normally from the same repo or
same author/organization), and then I found that the DNS packages were
pretty much only used by those packages, so I moved them too.

> > and inserted and sorted alphabetically
> 
> I did not know the order in the .scm files does not matter, I tried to add them
> in order of use.  Will sort.

It makes it easier to find the packages when adding/removing/changing
them.

> >
> > >   gnu: Add aardvark-dns.
> > This should have '#:install-source #f' in arguments
> 
> Done.
> >
> > >
> > >  gnu/packages/crates-io.scm | 332 +++++++++++++++++++++++++++++++++++++
> > >  gnu/packages/rust-apps.scm |  33 ++++
> > >  2 files changed, 365 insertions(+)
> > >
> > >
> > > base-commit: f00f56514d90ebba5d9e08ec786c8118e437097c
> > > --
> > > 2.41.0
> > >
> > >
> >
> > --
> > Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
> > GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
> > Confidentiality cannot be guaranteed on emails sent or received unencrypted
> 
> 
> 
> --
> There are only two hard things in Computer Science:
> cache invalidation, naming things and off-by-one errors.



-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2024-03-05  8:24 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-03 16:43 [bug#69526] [PATCH 00/10] Add aardvark-dns Tomas Volf
2024-03-03 16:46 ` [bug#69526] [PATCH 01/10] gnu: Add rust-h3-0.0.2 Tomas Volf
2024-03-03 16:46 ` [bug#69526] [PATCH 02/10] gnu: Add rust-h3-quinn-0.0.3 Tomas Volf
2024-03-03 16:46 ` [bug#69526] [PATCH 03/10] gnu: Add rust-event-listener-strategy-0.1 Tomas Volf
2024-03-03 16:46 ` [bug#69526] [PATCH 04/10] gnu: Add rust-async-broadcast-0.6 Tomas Volf
2024-03-03 16:46 ` [bug#69526] [PATCH 05/10] gnu: Add rust-hickory-proto-0.24 Tomas Volf
2024-03-03 16:46 ` [bug#69526] [PATCH 06/10] gnu: Add rust-hickory-client-0.24 Tomas Volf
2024-03-03 16:46 ` [bug#69526] [PATCH 07/10] gnu: Add rust-hickory-resolver-0.24 Tomas Volf
2024-03-03 16:46 ` [bug#69526] [PATCH 08/10] gnu: Add rust-hickory-recursor-0.24 Tomas Volf
2024-03-03 16:46 ` [bug#69526] [PATCH 09/10] gnu: Add rust-hickory-server-0.24 Tomas Volf
2024-03-03 16:46 ` [bug#69526] [PATCH 10/10] gnu: Add aardvark-dns Tomas Volf
2024-03-04  7:17 ` [bug#69526] [PATCH 00/10] " Efraim Flashner
2024-03-04 17:46   ` Tomas Volf
2024-03-05  8:21     ` bug#69526: " Efraim Flashner
2024-03-04 23:19 ` [bug#69526] [PATCH v2 01/10] gnu: Add rust-h3-0.0.2 Tomas Volf
2024-03-04 23:19   ` [bug#69526] [PATCH v2 02/10] gnu: Add rust-h3-quinn-0.0.3 Tomas Volf
2024-03-04 23:19   ` [bug#69526] [PATCH v2 03/10] gnu: Add rust-event-listener-strategy-0.1 Tomas Volf
2024-03-04 23:19   ` [bug#69526] [PATCH v2 04/10] gnu: Add rust-async-broadcast-0.6 Tomas Volf
2024-03-04 23:19   ` [bug#69526] [PATCH v2 05/10] gnu: Add rust-hickory-proto-0.24 Tomas Volf
2024-03-04 23:19   ` [bug#69526] [PATCH v2 06/10] gnu: Add rust-hickory-resolver-0.24 Tomas Volf
2024-03-04 23:19   ` [bug#69526] [PATCH v2 07/10] gnu: Add rust-hickory-recursor-0.24 Tomas Volf
2024-03-04 23:19   ` [bug#69526] [PATCH v2 08/10] gnu: Add rust-hickory-client-0.24 Tomas Volf
2024-03-04 23:19   ` [bug#69526] [PATCH v2 09/10] gnu: Add rust-hickory-server-0.24 Tomas Volf
2024-03-04 23:19   ` [bug#69526] [PATCH v2 10/10] gnu: Add aardvark-dns Tomas Volf

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.