summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2025-12-01 16:14:22 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-18 23:19:26 +0000
commit3dac82e7906435798afbc41320741b9a0628a104 (patch)
treecad4a31b20475fe2c5bf0df72c725b442d1551e2 /gnu
parentd5c3f170b0db03e03f00f0ec3e38f86219b34f0d (diff)
gnu: Add go-github-com-gosimple-slug.
* gnu/packages/golang-web.scm (go-github-com-gosimple-slug): New variable. Change-Id: I5b9d85c32b2711ad857973030e5b48558de4d5d2 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-web.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 61467cc1a1..07da7a2675 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -6318,6 +6318,29 @@ sessions, flash messages, custom backends, and more.")
protocol.")
(license license:bsd-2)))
+(define-public go-github-com-gosimple-slug
+ (package
+ (name "go-github-com-gosimple-slug")
+ (version "1.12.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gosimple/slug")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "15gk6hdd8kjfl0srlf3gnjq34m64as1s6pjv7paaxd1zvrcml46y"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/gosimple/slug"))
+ (propagated-inputs (list go-github-com-gosimple-unidecode))
+ (home-page "https://github.com/gosimple/slug")
+ (synopsis "URL-friendly slugify with multiple language support")
+ (description "Generates slug from Unicode string for use in URLs.")
+ (license license:mpl2.0)))
+
(define-public go-github-com-gregjones-httpcache
(package
(name "go-github-com-gregjones-httpcache")