From 2fb3ff7e886cb725054a1058e034319c7bcfc9ab Mon Sep 17 00:00:00 2001 From: Fries Date: Fri, 5 Apr 2024 10:25:16 +0100 Subject: 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 Change-Id: I5cce2cac1cf535498bd5ecdd2d5db45080118947 --- gnu/packages/golang-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 50a8eab39c..1328083ef3 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -1869,6 +1869,29 @@ of @code{sync.Map} to Go versions below 1.9 and a cancellable Goroutine with 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") -- cgit 1.4.1