summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-01-25 08:28:16 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-25 08:29:25 +0000
commita0792c40b272dbc280f42bc2ce17a74b6b9727a8 (patch)
treeb1e29ca1e460c59b691709faab68013f1bd7b408 /gnu/packages/golang-xyz.scm
parent4106e5fd9a55fc0f6c188db5b629110780bb02d8 (diff)
gnu: Add go-github-com-xaionaro-go-unsafetools.
* gnu/packages/golang-xyz.scm (go-github-com-xaionaro-go-unsafetools): New variable. Change-Id: I5ab272d183dad9098686db4f2bd234e3c1e44e39
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 4a00f78529..0fa1b5767a 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -15283,6 +15283,32 @@ edges and self-loops are not permitted.
@end itemize")
(license license:asl2.0)))
+(define-public go-github-com-xaionaro-go-unsafetools
+ (package
+ (name "go-github-com-xaionaro-go-unsafetools")
+ (version "0.0.0-20241024014258-a46e1ce3763e")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xaionaro-go/unsafetools")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "153qlgq5sjg3gsw5v6an0mck8v5pmxf5mnys41ykp97yqp53mgcp"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/xaionaro-go/unsafetools"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/xaionaro-go/unsafetools")
+ (synopsis "Access to private/unexported fields of a structure")
+ (description
+ "This package provides function @code{FieldByName} to access to any field
+(including private/unexported) of a structure.")
+ (license license:cc0)))
+
(define-public go-github-com-xdg-go-stringprep
(package
(name "go-github-com-xdg-go-stringprep")