From 9a3a2b5ca6b83fce7221f51e23ff772d0128e1b6 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 28 Apr 2024 16:11:46 +0100 Subject: 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 --- 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 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. -- cgit v1.2.3