sharlatan pushed a commit to branch go-team in repository guix. commit 979bfc12f43ef2fd6be6f0f7f59c2ee55600abf2 Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Sat Feb 22 14:21:29 2025 +0000
gnu: go-golang-org-rainycape-unidecode: Improve style. * gnu/packages/golang.scm (go-golang-org-rainycape-unidecode) [source] <file-name>: Adjust it to use GIT-FILE-NAME. [arguments]: Use list style. [description]: Adjust fill-column. Change-Id: I11d1a3cb0dfc6c2bb5d8012e2274eacb65e34bc4 --- gnu/packages/golang.scm | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ed8f148792..3c299b98c5 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1257,23 +1257,24 @@ be performed.") (package (name "go-golang-org-rainycape-unidecode") (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/rainycape/unidecode") - (commit commit))) - (file-name (string-append "go-golang-org-rainycape-unidecode-" - version "-checkout")) - (sha256 - (base32 - "1wvzdijd640blwkgmw6h09frkfa04kcpdq87n2zh2ymj1dzla5v5")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rainycape/unidecode") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1wvzdijd640blwkgmw6h09frkfa04kcpdq87n2zh2ymj1dzla5v5")))) (build-system go-build-system) (arguments - `(#:import-path "golang.org/rainycape/unidecode")) + (list + #:import-path "golang.org/rainycape/unidecode")) (home-page "https://github.com/rainycape/unidecode") (synopsis "Unicode transliterator in Golang") - (description "Unicode transliterator in Golang - Replaces non-ASCII -characters with their ASCII approximations.") + (description + "Unicode transliterator in Golang - Replaces non-ASCII characters with +their ASCII approximations.") (license license:asl2.0)))) (define-public go-github-com-akosmarton-papipes