guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 3dac82e7906435798afbc41320741b9a0628a104
Author: Sören Tempel <[email protected]>
AuthorDate: Mon Dec 1 16:14:22 2025 +0100
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 <[email protected]>
---
gnu/packages/golang-web.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
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")