guix-commits
[Top][All Lists]
Advanced

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

02/07: gnu: Add go-github-com-xaionaro-go-unsafetools.


From: guix-commits
Subject: 02/07: gnu: Add go-github-com-xaionaro-go-unsafetools.
Date: Sat, 25 Jan 2025 03:44:54 -0500 (EST)

sharlatan pushed a commit to branch go-team
in repository guix.

commit a0792c40b272dbc280f42bc2ce17a74b6b9727a8
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Jan 25 08:28:16 2025 +0000

    gnu: Add go-github-com-xaionaro-go-unsafetools.
    
    * gnu/packages/golang-xyz.scm (go-github-com-xaionaro-go-unsafetools): New 
variable.
    
    Change-Id: I5ab272d183dad9098686db4f2bd234e3c1e44e39
---
 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 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")



reply via email to

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