gnu: Add go-github-com-lestrrat-go-iter.

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

Change-Id: I102a09d4a56d587e49677f81a07bcded1a8c95c6
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Arthur Rodrigues 2025-08-17 16:22:15 -03:00 committed by Sharlatan Hellseher
parent fd2c10d714
commit 8703783623
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -12491,6 +12491,33 @@ or during the tests temporarily change the value of an environment variable in
Golang.") Golang.")
(license license:expat))) (license license:expat)))
(define-public go-github-com-lestrrat-go-iter
(package
(name "go-github-com-lestrrat-go-iter")
(version "1.0.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/lestrrat-go/iter")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1p5fhw5g3kh7c6hvw2mc1r4ckxb3ax262x8b736yyhpv2ynl8jyz"))))
(build-system go-build-system)
(arguments
(list
#:skip-build? #t
#:import-path "github.com/lestrrat-go/iter"))
(native-inputs
(list go-github-com-stretchr-testify))
(home-page "https://github.com/lestrrat-go/iter")
(synopsis "Iterator for arbitrary array and map types for Golang")
(description
"This package provides a set of utilities to safely iterate over
arbitrary array and maps types.")
(license license:expat)))
(define-public go-github-com-lestrrat-go-option (define-public go-github-com-lestrrat-go-option
(package (package
(name "go-github-com-lestrrat-go-option") (name "go-github-com-lestrrat-go-option")