[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70372] [PATCH v2 3/3] gnu: Add go-github-com-multiformats-go-multia
From: |
Artyom V. Poptsov |
Subject: |
[bug#70372] [PATCH v2 3/3] gnu: Add go-github-com-multiformats-go-multiaddr-dns. |
Date: |
Sat, 20 Apr 2024 06:44:09 +0300 |
* gnu/packages/golang-web.scm (go-github-com-multiformats-go-multiaddr-dns):
New variable.
Change-Id: I6e81e9b4773cd97a5625661089f4ed35d2adba33
---
gnu/packages/golang-web.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 9e8f1a795a..27a53f9250 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1372,6 +1372,43 @@ (define-public
go-github-com-multiformats-go-multiaddr-0.12
go-github-com-multiformats-go-multihash-0.2.3
go-golang-org-x-exp-2023))))
+(define-public go-github-com-multiformats-go-multiaddr-dns
+ (let ((commit "6e944aaa78597c34baa8d68a91c3ca236837760c")
+ (revision "0"))
+ (package
+ (name "go-github-com-multiformats-go-multiaddr-dns")
+ (version (git-version "0.3.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/multiformats/go-multiaddr-dns")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ns3kxixl3kmwwdl1z9jawgns00jgmi76j9gbxk68ys8a5nyng5a"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/multiformats/go-multiaddr-dns"
+ #:go go-1.21
+ ;; TODO: Tests fail because they try to access the network.
+ #:tests? #f))
+ (propagated-inputs (list go-github-com-gxed-hashland-keccakpg
+ go-github-com-miekg-dns
+ go-github-com-minio-blake2b-simd
+ go-github-com-minio-sha256-simd
+ go-github-com-mr-tron-base58
+ go-github-com-multiformats-go-multiaddr-0.12
+ go-github-com-multiformats-go-varint
+ go-github-com-spaolacci-murmur3
+ go-golang-org-x-crypto))
+ (home-page "https://multiformats.io/multiaddr/")
+ (synopsis "Library and CLI tool for DNS multiaddr resolution")
+ (description
+ "Go library and CLI tool 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.
--
2.41.0
- [bug#70372] [PATCH 0/4] gnu: Add go-github-com-multiformats-go-multiaddr-dns., Artyom V. Poptsov, 2024/04/14
- [bug#70372] [PATCH 1/4] gnu: Add go-github-com-multiformats-go-multihash-0.2.3., Artyom V. Poptsov, 2024/04/14
- [bug#70372] [PATCH 2/4] gnu: Add go-golang-org-x-exp-2023., Artyom V. Poptsov, 2024/04/14
- [bug#70372] [PATCH 4/4] gnu: Add go-github-com-multiformats-go-multiaddr-dns., Artyom V. Poptsov, 2024/04/14
- [bug#70372] [PATCH 3/4] gnu: Add go-github-com-multiformats-go-multiaddr-0.12., Artyom V. Poptsov, 2024/04/14
- [bug#70372] [PATCH v2 0/3] gnu: Add go-github-com-multiformats-go-multiaddr-dns., Artyom V. Poptsov, 2024/04/19
- bug#70372: [PATCH 0/4] gnu: Add go-github-com-multiformats-go-multiaddr-dns., Sharlatan Hellseher, 2024/04/24