guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#65074] [PATCH v2 11/13] gnu: Add go-github-com-modern-go-reflect2


From: Fries
Subject: [bug#65074] [PATCH v2 11/13] gnu: Add go-github-com-modern-go-reflect2
Date: Sat, 05 Aug 2023 11:02:08 +0000

* gnu/packages/golang.scm (go-github-com-modern-go-reflect2): Add variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f38cd334a3..1eb0eae3ec 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6764,6 +6764,29 @@ (define-public go-github-com-mitchellh-reflectwalk
 unknown structures such as those decoded from JSON.")
     (license license:expat)))
 
+(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-modern-go-concurrent
   (package
     (name "go-github-com-modern-go-concurrent")
-- 
2.41.0







reply via email to

[Prev in Thread] Current Thread [Next in Thread]