gnu: Add go-github-com-lithammer-dedent.

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

Change-Id: I4e7e399e6852b49a407beb343ece1c216234222b
This commit is contained in:
Sharlatan Hellseher 2024-12-27 12:33:45 +00:00
parent 8b5d188ee8
commit 7c926c14a6
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -7176,6 +7176,32 @@ allocator. This is primarily useful for long lived buffers that usually sit emp
length-delimited slices. It's helpful for building wire protocols.")
(license license:expat)))
(define-public go-github-com-lithammer-dedent
(package
(name "go-github-com-lithammer-dedent")
(version "1.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/lithammer/dedent")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1zqdlz3csraphk12q91vmv5zhap3abscjn9v725d8r55qblwrvs0"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/lithammer/dedent"))
(home-page "https://github.com/lithammer/dedent")
(synopsis "Remove any common leading whitespace from multiline strings")
(description
"This package provides a functionality to remove common leading
whitespace from multiline strings. Inspired by
@url{https://docs.python.org/3/library/textwrap.html#textwrap.dedent,(code
textwrap.dedent)} in Python.")
(license license:expat)))
(define-public go-github-com-lithammer-fuzzysearch
(package
(name "go-github-com-lithammer-fuzzysearch")