From 5bbb1ab715855d89a963fd198ed5fd4053eb1ca4 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 28 Apr 2024 15:59:08 +0100 Subject: gnu: Add go-github-com-multiformats-go-multistream. * gnu/packages/golang-web.scm (go-github-com-multiformats-go-multistream): New variable. Change-Id: Iba20fe848901fa5df59303f1673160f8c75d7831 --- gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 0879d496cf..12a6da4675 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -1457,6 +1457,34 @@ symbols like @command{net.Dial} and @command{net.Listen}, as well as conversion to and from @command{net.Addr}.") (license license:expat)))) +(define-public go-github-com-multiformats-go-multistream + (package + (name "go-github-com-multiformats-go-multistream") + (version "0.5.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/multiformats/go-multistream") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1mlcz16ii090vq6brm02dmmkj8akkafa55kyvkrrwpq6zvj1hy23")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.20 + #:import-path "github.com/multiformats/go-multistream")) + (propagated-inputs + (list go-github-com-multiformats-go-varint)) + (home-page "https://github.com/multiformats/go-multistream") + (synopsis "Implementation of the multistream protocol in Golang") + (description + "Package multistream implements a simple stream router for the +multistream-select protocol. The protocol is defined at +@url{https://github.com/multiformats/multistream-select}") + (license license:expat))) + (define-public go-github-com-nwidger-jsoncolor (package (name "go-github-com-nwidger-jsoncolor") -- cgit v1.2.3