guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 2a2f545aa101e5c10117fe3f5f8aa8c18d992ea7
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Feb 6 11:31:08 2026 +0000
gnu: Add go-github-com-segmentio-ksuid.
* gnu/packages/golang-xyz.scm (go-github-com-segmentio-ksuid): New variable.
Change-Id: I644576ca89b85299e5a2d4974356fdc07f9e1653
---
gnu/packages/golang-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 73b2a714d9..0f9e6a7cff 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -21141,6 +21141,37 @@ and branchless algorithms shine.")
various data formats.")
(license license:expat)))
+(define-public go-github-com-segmentio-ksuid
+ (package
+ (name "go-github-com-segmentio-ksuid")
+ (version "1.0.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/segmentio/ksuid")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1qc9w7imal5jk0lw0hwyszs2fh7wjsnbkawgw7kwzdvg9nbahjg7"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/segmentio/ksuid"))
+ (home-page "https://github.com/segmentio/ksuid")
+ (synopsis "K-Sortable Globally Unique IDs")
+ (description
+ "@code{ksuid} is an efficient, comprehensive, battle-tested Go library
+for generating and parsing a specific kind of globally unique identifier
+called a KSUID. This library serves as its reference implementation.
+
+KSUID is for K-Sortable Unique IDentifier. It is a kind of globally unique
+identifier similar to a
+@url{https://en.wikipedia.org/wiki/Universally_unique_identifier, RFC 4122
+UUID}, built from the ground-up to be \"naturally\" sorted by generation
+timestamp without any special type-aware logic.")
+ (license license:expat)))
+
(define-public go-github-com-sereal-sereal-go-sereal
(package
(name "go-github-com-sereal-sereal-go-sereal")