From 1cd5166e675da4523b1512c49474965ce7ccf70c Mon Sep 17 00:00:00 2001 From: Arthur Rodrigues Date: Sun, 17 Aug 2025 12:10:49 -0300 Subject: [PATCH] gnu: Add go-github-com-armon-circbuf. * gnu/packages/golang-xyz.scm (go-github-com-armon-circbuf): New variable. Change-Id: I4597d6d5a64aad7851f28deadc787c381d33a0f2 Modified-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 60e43e2b7a1d848d66767334dffb8437bf937453..0222c4cfa59790913cd7ff56b3f30413540ba807 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -66,6 +66,7 @@ ;;; Copyright © 2025 David Thompson ;;; Copyright © 2025 Ludovic Courtès ;;; Copyright © 2025 Tomas Volf <~@wolfsden.cz> +;;; Copyright © 2025 Arthur Rodrigues ;;; ;;; This file is part of GNU Guix. ;;; @@ -1854,6 +1855,31 @@ Distance}.") inspired by the causal messaging system in the Pony programming language.") (license license:expat))) +(define-public go-github-com-armon-circbuf + (package + (name "go-github-com-armon-circbuf") + (version "0.0.0-20190214190532-5111143e8da2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/armon/circbuf") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1nhzs8wza5sxqjh0920jypy9irq6cspd55g8a9vgyjjfrqb5njs0")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/armon/circbuf")) + (home-page "https://github.com/armon/circbuf") + (synopsis "Circular buffer for Golang") + (description + "This package provides a circular buffer object. The buffer can be +written to infinitely, but has a fixed size, so only the last @code{size} +bytes are ever retained.") + (license license:expat))) + (define-public go-github-com-armon-go-radix (package (name "go-github-com-armon-go-radix")