From c0a2f671f476c1e663fe4eab3438ba6350aca81d Mon Sep 17 00:00:00 2001 From: Arthur Rodrigues Date: Sun, 26 Oct 2025 01:26:00 +0000 Subject: [PATCH] gnu: Add go-github-com-graylog2-go-gelf. * gnu/packages/golang-xyz.scm (go-github-com-graylog2-go-gelf): New variable. Change-Id: If11aafc34189241007c3cbf8519a6030d263f7d2 Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 74cf90051900427d4b813b2283610c5ea8ab513d..5b3a740f95fcca534fb81e30985d7a69a8677b6d 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -9689,6 +9689,36 @@ according @@url{https://rfc-editor.org/rfc/rfc8785.html, RFC 8785}.") with some code optimisations to make it run faster.") (license license:bsd-3))) +(define-public go-github-com-graylog2-go-gelf + (package + (name "go-github-com-graylog2-go-gelf") + (version "0.0.0-20170811154226-7ebf4f536d8f") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Graylog2/go-gelf") + (commit (go-version->git-ref version + #:subdir "gelf")))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0a51xrh798y7712kmpflh74jqhvrvy7n6rvr83b17w86n56z9ba7")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/Graylog2/go-gelf/gelf" + #:unpack-path "github.com/Graylog2/go-gelf")) + (home-page "https://github.com/Graylog2/go-gelf") + (synopsis "GELF library and writer for Golang") + (description + "This package is a @acronym{Graylog Extended Log Format,GELF} +(@url{https://go2docs.graylog.org/current/home.htm, specification}) library +for Go. GELF is an application-level logging protocol that avoids many of the +shortcomings of @code{syslog}. While it can be run over any stream or +datagram transport protocol, it has special support to allow long messages to +be split over multiple datagrams.") + (license license:expat))) + (define-public go-github-com-guptarohit-asciigraph (package (name "go-github-com-guptarohit-asciigraph")