diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-01 15:27:48 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-21 23:42:43 +0000 |
commit | ed2851874a3344388e12f7f56b662458f8543a90 (patch) | |
tree | 46a1738ba304e318732824ba8ed7703b85c3f7d9 | |
parent | 5a5c60e149a1e41482a1baa7a5a8a964328e2099 (diff) |
gnu: Add go-github-com-ettle-strcase.
* gnu/packages/golang-xyz.scm (go-github-com-ettle-strcase): New variable.
Change-Id: If03c617cc98869a87397a01f48a41600d4a6c11f
-rw-r--r-- | gnu/packages/golang-xyz.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 32e4caa8f8..2b4dc18eda 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -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") |