From d6601190648826009f9d40f5b32d7825a6626d6d Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 28 Nov 2025 11:20:26 +0000 Subject: [PATCH] gnu: Add go-github-com-zeebo-sudo. * gnu/packages/golang-xyz.scm (go-github-com-zeebo-sudo): New variable. Change-Id: If99faff2b9ebf68cf949ed27c6ff75837d898e69 --- gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index ad91da2fda3cc9413efe25403e1ede7ed4617fa9..4ed3195d36b1433af2544555df918bf4cdd19b7a 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -23902,6 +23902,32 @@ utilities for cty Golang module.") @code{1.02e12} for exponents in @code{[-15, 15]}.") (license license:asl2.0))) +(define-public go-github-com-zeebo-sudo + (package + (name "go-github-com-zeebo-sudo") + (version "1.0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zeebo/sudo") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ih2cx823vdc5g4pvq3bqjir0x9lyn3dx8ka4gkmr9mbxqak1sb5")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/zeebo/sudo")) + (home-page "https://github.com/zeebo/sudo") + (synopsis "Bypasses restrictions on reflect") + (description + "sudo is a package to make reflect more powerful (and dangerous). +It exports a single function, @code{Sudo}, which when passed a +@code{reflect.Value}, will return a new reflect.Value with the read-only +restrictions removed.") + (license license:expat))) + (define-public go-github-com-zitadel-logging (package (name "go-github-com-zitadel-logging")