gnu: Add go-github-com-modern-go-reflect2.

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

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I5cce2cac1cf535498bd5ecdd2d5db45080118947
This commit is contained in:
Fries 2024-04-05 10:25:16 +01:00 committed by Sharlatan Hellseher
parent 037194373a
commit 2fb3ff7e88
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1869,6 +1869,29 @@ (define-public go-github-com-modern-go-concurrent
explicit ownership.")
(license license:asl2.0)))
(define-public go-github-com-modern-go-reflect2
(package
(name "go-github-com-modern-go-reflect2")
(version "1.0.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/modern-go/reflect2")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "05a89f9j4nj8v1bchfkv2sy8piz746ikj831ilbp54g8dqhl8vzr"))))
(build-system go-build-system)
(arguments
(list #:import-path "github.com/modern-go/reflect2"))
(home-page "https://github.com/modern-go/reflect2")
(synopsis "Cheaper reflect API")
(description
"This library provides a reflect api for Go programs
without the runtime cost of the standard library reflect.Value.")
(license license:asl2.0)))
(define-public go-github-com-mreiferson-go-options
(package
(name "go-github-com-mreiferson-go-options")