summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRaven Hallsby <karl@hallsby.com>2025-10-25 12:25:01 -0500
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-04 20:27:20 +0000
commita5ab3a39da0ac0d2d34484cfe65236bd0fc5d708 (patch)
tree5ace5741674e8735c0553e5fd448688603ca1a36 /gnu/packages
parentdbe39aa5651ab7cde22c420bd27501bef4115e9e (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/golang-xyz.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index a25030bfa40..0631bd3a412 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")