From ca6726430a11c3eaa5d12217272a23a60b0f573f Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Fri, 29 Aug 2025 19:25:59 +0200 Subject: [PATCH] gnu: Add go-github-com-varlink-go-varlink. * gnu/packages/golang-xyz.scm (go-github-com-varlink-go-varlink): New variable. Change-Id: I6174a9f43eac0db17af5c6340e2d879a1094c71a Co-authored-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-web.scm | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index ecf4d0c68e28f8b5dd1cf4ed9e320d5d445796aa..fcdae811ee8621185f45cc89588f618c11c4fa59 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -23,7 +23,7 @@ ;;; Copyright © 2022 Leo Nikkilä ;;; Copyright © 2022 jgart via Guix-patches via ;;; Copyright © 2022 muradm -;;; Copyright © 2022, 2023 Sharlatan Hellseher +;;; Copyright © 2022, 2023, 2025 Sharlatan Hellseher ;;; Copyright © 2023 Felix Lechner ;;; Copyright © 2023 Filip Lajszczak ;;; Copyright © 2023 Fries @@ -44,6 +44,7 @@ ;;; Copyright © 2025 Ashvith Shetty ;;; Copyright © 2025 Arthur Rodrigues ;;; Copyright © 2025 David Thompson +;;; Copyright © 2025 Danny Milosavljevic ;;; ;;; This file is part of GNU Guix. ;;; @@ -10839,6 +10840,35 @@ replacement for native @code{net/http} module.") performance-related options.") (license license:expat))) +(define-public go-github-com-varlink-go-varlink + (package + (name "go-github-com-varlink-go-varlink") + (version "0.4.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/varlink/go") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1bhpi18xrmf5in2m4y6wj2q05rxk9m219knk9dj3bin1aj1dlf56")))) + (build-system go-build-system) + (arguments + (list + #:skip-build? #t + #:import-path "github.com/varlink/go" + ;; Tests in cmd are broken. + #:test-subdirs #~(list "varlink/..."))) + (home-page "https://github.com/varlink/go") + (synopsis "Go implementation of the Varlink IPC protocol") + (description + "This package provides a Go implementation of the +@url{https://varlink.org/, Varlink} protocol, a protocol for inter-process +communication. Varlink utilizes a plain-text, JSON-based format for messages +and is designed to be accessible to both humans and machines.") + (license license:asl2.0))) + (define-public go-github-com-vektah-gqlparser-v2 (package (name "go-github-com-vektah-gqlparser-v2")