summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2023-10-18 11:38:23 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-04-09 17:14:52 +0100
commitd43b4d77581c6e330ff974d5c2108bbe09735ba4 (patch)
tree23f8d4c3a3b08ffd3f2678d95d7db068bacc3a2c /gnu
parentfd38158d7ff8cf39760f994c3fe1111002af833a (diff)
downloadguix-d43b4d77581c6e330ff974d5c2108bbe09735ba4.tar.gz
gnu: Add go-github-com-facette-natsort.
* gnu/packages/golang-xyz.scm (go-github-com-facette-natsort): New
variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I23ab432b5a7f35d2f3144cfd68cfff75683eb592
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index bf177e9419..9968bc9516 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -29,6 +29,7 @@
 ;;; Copyright © 2023 Sergey Trofimov <sarg@sarg.org.ru>
 ;;; Copyright © 2023 Thomas Ieong <th.ieong@free.fr>
 ;;; Copyright © 2023 Timo Wilken <guix@twilken.net>
+;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu>
 ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
 ;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
 ;;;
@@ -1089,6 +1090,31 @@ scanner API made public.")
 for @code{Set}, @code{Get}, @code{Delete} and @code{Len}.")
     (license license:expat)))
 
+(define-public go-github-com-facette-natsort
+  (package
+    (name "go-github-com-facette-natsort")
+    (version "0.0.0-20181210072756-2cd4dd1e2dcb")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/facette/natsort")
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0kfas7nq7cfrbaqvpmifg2p8v8z0d2kdqjb7p9y6r0rpdzl2zy6p"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/facette/natsort"))
+    (home-page "https://github.com/facette/natsort")
+    (synopsis "Natural strings sorting in Go")
+    (description
+     "This package provides an implementation of
+@url{https://web.archive.org/web/20210803201519/http://davekoelle.com/alphanum.html,the
+Alphanum Algorithm} developed by Dave Koelle in Go.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-gabriel-vasile-mimetype
   (package
     (name "go-github-com-gabriel-vasile-mimetype")