1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-15 11:30:44 +02:00

gnu: Add go-github-com-ettle-strcase.

* gnu/packages/golang-xyz.scm (go-github-com-ettle-strcase): New variable.

Change-Id: If03c617cc98869a87397a01f48a41600d4a6c11f
This commit is contained in:
Sharlatan Hellseher 2025-01-01 15:27:48 +00:00
parent 5a5c60e149
commit ed2851874a
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4090,6 +4090,36 @@ and @code{io.ReadCloser}) with overwrites
" This package is a fork of dlclark/regexp2 providing a
more similar API to regexp."))))
(define-public go-github-com-ettle-strcase
(package
(name "go-github-com-ettle-strcase")
(version "0.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ettle/strcase")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1gg3zxbbp3vfskzg2dl1s1agjn34dw14282fj28g9nrwqbbq854x"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/ettle/strcase"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-benchmark
(lambda* (#:key tests? import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(delete-file-recursively "benchmark")))))))
(home-page "https://github.com/ettle/strcase")
(synopsis "String naming convention style library")
(description
"Package strcase is a package for converting strings into various word
cases (e.g. snake_case, camelCase, kebab-case, etc).")
(license license:expat)))
(define-public go-github-com-expr-lang-expr
(package
(name "go-github-com-expr-lang-expr")