guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

35/50: gnu: go-github-com-miekg-dns: Move to golang-web.


From: guix-commits
Subject: 35/50: gnu: go-github-com-miekg-dns: Move to golang-web.
Date: Sun, 25 Aug 2024 19:20:28 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit 0a46e960d0a91a22853a7ad9b24422d07bc12a8c
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Aug 25 21:21:30 2024 +0100

    gnu: go-github-com-miekg-dns: Move to golang-web.
    
    * gnu/packages/golang-xyz.scm (go-github-com-miekg-dns): Move from here ...
    * gnu/packages/golang-web.scm: ... to here.
    
    Change-Id: I7d1e38dd4fdc9578cdefdf01ff43f5201c490f73
---
 gnu/packages/golang-web.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 gnu/packages/golang-xyz.scm | 40 ----------------------------------------
 2 files changed, 41 insertions(+), 40 deletions(-)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index b36a618e56..d4b4c4043f 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -31,6 +31,7 @@
 ;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
 ;;; Copyright © 2023 Thomas Ieong <th.ieong@free.fr>
 ;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;;; Copyright © 2024 Dominic Martinez <dom@dominicm.dev>
 ;;; Copyright © 2024 Jesse Eisses <jesse@eisses.email>
 ;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
 ;;;
@@ -2835,6 +2836,46 @@ via REST APIs.")
     (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
     (license license:bsd-3)))
 
+(define-public go-github-com-miekg-dns
+  (package
+    (name "go-github-com-miekg-dns")
+    (version "1.1.62")
+    (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 "0wdsacp4ay6ji72vnszq6ksn5n060z2hv94wgjsn0pr7gpa3nk6c"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/miekg/dns"
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'disable-failing-tests
+            (lambda* (#:key tests? import-path #:allow-other-keys)
+              (with-directory-excursion (string-append "src/" import-path)
+                (substitute* (find-files "." "\\_test.go$")
+                  ;; Unable to run test server.
+                  (("TestIsPacketConn") "OffTestIsPacketConn"))))))))
+    (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
+     "This package provides a fully featured interface to the @acronym{DNS,
+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)))
+
 (define-public go-github-com-multiformats-go-multiaddr
   (package
     (name "go-github-com-multiformats-go-multiaddr")
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 0be25d8bc9..09e45175a6 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4405,46 +4405,6 @@ language, namely support for record length-delimited 
message streaming.")
 colored strings.")
       (license license:expat))))
 
-(define-public go-github-com-miekg-dns
-  (package
-    (name "go-github-com-miekg-dns")
-    (version "1.1.62")
-    (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 "0wdsacp4ay6ji72vnszq6ksn5n060z2hv94wgjsn0pr7gpa3nk6c"))))
-    (build-system go-build-system)
-    (arguments
-     (list
-      #:import-path "github.com/miekg/dns"
-      #:phases
-      #~(modify-phases %standard-phases
-          (add-after 'unpack 'disable-failing-tests
-            (lambda* (#:key tests? import-path #:allow-other-keys)
-              (with-directory-excursion (string-append "src/" import-path)
-                (substitute* (find-files "." "\\_test.go$")
-                  ;; Unable to run test server.
-                  (("TestIsPacketConn") "OffTestIsPacketConn"))))))))
-    (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
-     "This package provides a fully featured interface to the @acronym{DNS,
-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)))
-
 (define-public go-github-com-mitchellh-colorstring
   (package
     (name "go-github-com-mitchellh-colorstring")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]