guix-commits
[Top][All Lists]
Advanced

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

05/08: gnu: Add go-github-com-multiformats-go-multiaddr-dns.


From: guix-commits
Subject: 05/08: gnu: Add go-github-com-multiformats-go-multiaddr-dns.
Date: Wed, 24 Apr 2024 10:39:21 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit a9f083f10ed8fedd30b41496e62259f55031b976
Author: Artyom V. Poptsov <poptsov.artyom@gmail.com>
AuthorDate: Sat Apr 20 06:44:09 2024 +0300

    gnu: Add go-github-com-multiformats-go-multiaddr-dns.
    
    * gnu/packages/golang-web.scm (go-github-com-multiformats-go-multiaddr-dns):
      New variable.
    
    Change-Id: I6e81e9b4773cd97a5625661089f4ed35d2adba33
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
 gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index bb0cacb51e..855c28b419 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1368,6 +1368,34 @@ following:
                              go-github-com-multiformats-go-multihash-0.2.3
                              go-golang-org-x-exp-2023))))
 
+(define-public go-github-com-multiformats-go-multiaddr-dns
+  (package
+    (name "go-github-com-multiformats-go-multiaddr-dns")
+    (version "0.3.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/multiformats/go-multiaddr-dns";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "17qpcgxlmji6wdnjabl5ihc4zn69w2g0karad46zj70y5zg4y24r"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:go go-1.21
+      #:import-path "github.com/multiformats/go-multiaddr-dns"
+      #:unpack-path "github.com/multiformats/go-multiaddr-dns"))
+    (propagated-inputs
+     (list go-github-com-miekg-dns
+           go-github-com-multiformats-go-multiaddr-0.12))
+    (home-page "https://multiformats.io/multiaddr/";)
+    (synopsis "Library and CLI tool for DNS multiaddr resolution")
+    (description
+     "Go library for /dns4, /dns6, /dnsaddr multiaddr resolution.")
+    (license license:expat)))
+
 (define-public go-github-com-multiformats-go-multiaddr-net
   ;; This commit is from <2018-10-01> and associated with GX package manager,
   ;; since that time the project has changed versing stile and GX is dropped.



reply via email to

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