diff mbox series

[bug#72844,1/4] gnu: Add go-github-com-libp2p-go-doh-resolver.

Message ID 8ddd58504b9465a108646dc5ede246484e1090c8.1724792671.git.poptsov.artyom@gmail.com
State New
Headers show
Series gnu: kubo: Add some direct and indirect dependencies. | expand

Commit Message

Artyom V. Poptsov Aug. 27, 2024, 9:09 p.m. UTC
* gnu/packages/golang-web.scm (go-github-com-libp2p-go-doh-resolver): New variable.

Change-Id: I581c6032fbb9b6ffe74423172359b65ced119ab3
---
 gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 9943891502..b3e583da39 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2698,6 +2698,34 @@  (define-public go-github-com-libp2p-go-cidranger
 published AWS Route53 CIDR 52.95.110.0/24), IP routing rules, etc.")
     (license license:expat)))
 
+(define-public go-github-com-libp2p-go-doh-resolver
+  (package
+    (name "go-github-com-libp2p-go-doh-resolver")
+    (version "0.4.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/libp2p/go-doh-resolver")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0asni7f3gd65bjfqz99fqchz9y75cpgmfwkkhsbq0y2dydagw666"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/libp2p/go-doh-resolver"))
+    (native-inputs (list go-github-com-stretchr-testify))
+    (propagated-inputs (list go-github-com-miekg-dns
+                             go-github-com-multiformats-go-multiaddr-dns
+                             go-github-com-ipfs-go-log-v2))
+    (home-page "https://github.com/libp2p/go-doh-resolver")
+    (synopsis "DNS over HTTPS resolver")
+    (description
+     "@url{https://datatracker.ietf.org/doc/html/rfc8484, DNS over HTTPS}
+resolver for Golang.")
+    (license license:expat)))
+
 (define-public go-github-com-libp2p-go-flow-metrics
   (package
     (name "go-github-com-libp2p-go-flow-metrics")