From a5ab3a39da0ac0d2d34484cfe65236bd0fc5d708 Mon Sep 17 00:00:00 2001 From: Raven Hallsby Date: Sat, 25 Oct 2025 12:25:01 -0500 Subject: [PATCH] gnu: Add go-github-com-maruel-natural. * gnu/packages/golang-xyz.scm (go-github-com-maruel-natural): New variable. Change-Id: I629048bf802ab509dad2078379ccd747950a8190 Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index a25030bfa40edd32baef2be0279db063efd21ec4..0631bd3a4120de8743c95b349bbaf5ee2b742ffa 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -13938,6 +13938,31 @@ implementing features like: @end itemize") (license license:expat)))) +(define-public go-github-com-maruel-natural + (package + (name "go-github-com-maruel-natural") + (version "1.1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/maruel/natural") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "040aikizdd7c4zm8xindb2ps16s60i0fkf8gkll2rir7lwv6q7ks")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/maruel/natural")) + (home-page "https://github.com/maruel/natural") + (synopsis "Natural sorting (natsort) in Golang") + (description + "This package implements a speed-optimized natural sorting (natsort) in +Golang. This implementation @emph{does not allocate memory}, does not depend +on @code{sort} and hence doesn't depend on @code{reflect}.") + (license license:asl2.0))) + (define-public go-github-com-masterminds-goutils (package (name "go-github-com-masterminds-goutils")