From cfd8425b8526981ba7f2fa8ccc2401d725352f9a Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 25 Jan 2025 08:28:17 +0000 Subject: [PATCH] gnu: Add go-github-com-fatih-camelcase. * gnu/packages/golang-xyz.scm (go-github-com-fatih-camelcase): New variable. Change-Id: Ib1d79b40869ffdfa1eadd02b20c751565eb4d7da --- gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 2806fc91c7dcd7833ebc173e400b5c7c6f662e7f..4980db6e695ee0746cd4065670d315869eafbf07 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -5064,6 +5064,30 @@ in a consistent state and never represent an in-progress write.") Alphanum Algorithm} developed by Dave Koelle in Go.") (license license:bsd-3))) +(define-public go-github-com-fatih-camelcase + (package + (name "go-github-com-fatih-camelcase") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fatih/camelcase") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0z7rw6f5j97dkzqya257dqlxf3cm8zl508081gmnr4bsjhkwpz2l")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/fatih/camelcase")) + (home-page "https://github.com/fatih/camelcase") + (synopsis "Split a camelcase word into a slice of words in Go") + (description + "Package camelcase is a micro package to split the words of a camelcase type +string into a slice of words.") + (license license:expat))) + (define-public go-github-com-fatih-color (package (name "go-github-com-fatih-color")