gnu: Add go-github-com-multiformats-go-multiaddr-0.12.

* gnu/packages/golang-web.scm (go-github-com-multiformats-go-multiaddr-0.12):
  New variable.

Change-Id: I27e70dc3a393bd72f2f43fbc2607ea105caccaef
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Artyom V. Poptsov 2024-04-20 06:44:08 +03:00 committed by Sharlatan Hellseher
parent 837841ed66
commit 79bbd178f1
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -56,6 +56,7 @@ (define-module (gnu packages golang-web)
#:use-module (gnu packages golang-compression)
#:use-module (gnu packages golang-crypto)
#:use-module (gnu packages golang-xyz)
#:use-module (gnu packages ipfs)
#:use-module (gnu packages tls)
#:use-module (gnu packages web))
@ -1341,6 +1342,32 @@ (define-public go-github-com-multiformats-go-multiaddr
@end itemize")
(license license:expat)))
;; It's for the Kubo update; remove it when it is no longer needed.
(define-public go-github-com-multiformats-go-multiaddr-0.12
(package
(inherit go-github-com-multiformats-go-multiaddr)
(name "go-github-com-multiformats-go-multiaddr")
(version "0.12.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/multiformats/go-multiaddr")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1rn02yn7494r7ayn585bbsddprbn8wdccxs4n2k5dmll4dyd39mp"))))
(arguments
(list
#:go go-1.21
#:import-path "github.com/multiformats/go-multiaddr"))
(native-inputs (list go-github-com-stretchr-testify))
(propagated-inputs (list go-github-com-ipfs-go-cid
go-github-com-multiformats-go-multibase
go-github-com-multiformats-go-varint
go-github-com-multiformats-go-multihash-0.2.3
go-golang-org-x-exp-2023))))
(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.