diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-04-28 16:11:46 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-04-28 16:27:37 +0100 |
commit | 9a3a2b5ca6b83fce7221f51e23ff772d0128e1b6 (patch) | |
tree | 1b7b9c3beac87e5ab594f0271127eb97c2695845 /gnu/packages | |
parent | 5bbb1ab715855d89a963fd198ed5fd4053eb1ca4 (diff) | |
download | guix-9a3a2b5ca6b83fce7221f51e23ff772d0128e1b6.tar.gz guix-9a3a2b5ca6b83fce7221f51e23ff772d0128e1b6.zip |
gnu: Add go-github-com-multiformats-go-multiaddr-fmt.
* gnu/packages/golang-web.scm (go-github-com-multiformats-go-multiaddr-fmt):
New variable.
Change-Id: Id66bad94946e3cb1bac1b4f341241b33e75cd217
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/golang-web.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 12a6da4675..c5c3efb7c5 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -1421,6 +1421,34 @@ following: "Go library for /dns4, /dns6, /dnsaddr multiaddr resolution.") (license license:expat))) +(define-public go-github-com-multiformats-go-multiaddr-fmt + (package + (name "go-github-com-multiformats-go-multiaddr-fmt") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/multiformats/go-multiaddr-fmt") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "119qqrnhzcb9im428alssv2dz9rrj74hy0asd10bnfv2d5fd09nm")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.21 + #:import-path "github.com/multiformats/go-multiaddr-fmt")) + (propagated-inputs + (list go-github-com-multiformats-go-multiaddr-0.12)) + (home-page "https://github.com/multiformats/go-multiaddr-fmt") + (synopsis "Declarative validator for multiaddrs") + (description + "This package provides a validation checker for multiaddrs. Some basic +validators for common address types are provided, but creating your own +combinations is easy.") + (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. |