gnu: Add go-modernc-org-strutil.

* gnu/packages/golang-xyz.scm (go-modernc-org-strutil): New variable.

Change-Id: If66b56b6603263907bc5b95ddc01775777b4cd57
This commit is contained in:
Sharlatan Hellseher 2024-12-18 23:00:17 +00:00
parent e608f81183
commit aecd38b9ae
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -10870,6 +10870,34 @@ (define-public go-modernc-org-sortutil
@code{sort} package.")
(license license:bsd-3)))
(define-public go-modernc-org-strutil
(package
(name "go-modernc-org-strutil")
(version "1.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.com/cznic/strutil")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0rk76c1n189hzg3kfab8pfvssa1h9v0vxk5jxy8pk32rqic0hdim"))))
(build-system go-build-system)
(arguments
(list
#:import-path "modernc.org/strutil"
;; Cannot determine import path using GOPATH.
#:test-flags #~(list "-skip" "TestImportPath")))
(native-inputs
(list go-modernc-org-mathutil))
(home-page "https://gitlab.com/cznic/strutil")
(synopsis "Strings utility library for Golang")
(description
"Package strutil collects utils supplemental to the standard
@code{strings} package.")
(license license:bsd-3)))
(define-public go-mvdan-cc-editorconfig
(package
(name "go-mvdan-cc-editorconfig")