Subject: [PATCH v3 05/10] gnu: Add go-github-com-miekg-dns.

From: Dominic Martinez <[email-masked]>
Date: Mon, 4 Apr 2022 15:32:03 -0400

* gnu/packages/golang.scm (go-github-com-miekg-dns): New variable.
---
 gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ccda557600..d6dca579de 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9872,3 +9872,33 @@ (define-public go-github-com-google-gopacket
       "@code{go-github-com-google-gopacket} provides packet decoding for the
 Go language.")
     (license license:bsd-3)))
+
+(define-public go-github-com-miekg-dns
+  (package
+    (name "go-github-com-miekg-dns")
+    (version "1.1.48")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/miekg/dns")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32 "14m4wnbgmc1prj4ds1fsz1nwb1awaq365lhbp8clzsidxmhjf3hl"))))
+    (build-system go-build-system)
+    (arguments '(#:import-path "github.com/miekg/dns"))
+    (propagated-inputs
+     (list go-golang-org-x-tools
+           go-golang-org-x-sys
+           go-golang-org-x-sync
+           go-golang-org-x-net))
+    (home-page "https://github.com/miekg/dns")
+    (synopsis "Domain Name Service library in Go")
+    (description
+      "@code{go-github-com-miekg-dns} implements a fully featured interface to
+the Domain Name System.  Both server and client side programming is supported.
+The package allows complete control over what is sent out to the @acronym{DNS,
+Domain Name Service}.  The API follows the less-is-more principle, by
+presenting a small interface.")
+    (license license:bsd-3)))
-- 
2.34.0