summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-12-28 16:04:14 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:42:33 +0000
commitf4abc9e310f70f4c961e5800f0b3a9c5d1e7c36c (patch)
tree2197656e1470793fd8012cc28c4fd55f0d6d5d07
parent03afba75338de2778e4358df1e969daf3eb472f4 (diff)
gnu: go-github-com-mitchellh-reflectwalk: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-mitchellh-reflectwalk): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: Id9e77506e7d9191315fd69438f763faccfc538ec
-rw-r--r--gnu/packages/golang-xyz.scm25
-rw-r--r--gnu/packages/golang.scm24
2 files changed, 25 insertions, 24 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 1f0db6ce9a..fab1c382cd 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -8294,6 +8294,31 @@ cross-compilation.")
(description "Go library for decoding generic map values")
(license license:expat)))
+(define-public go-github-com-mitchellh-reflectwalk
+ (package
+ (name "go-github-com-mitchellh-reflectwalk")
+ (version "1.0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mitchellh/reflectwalk")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1nxgb4gskzv045539vb312n0a443308dvh1akz7vi6x1l0z46zsm"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/mitchellh/reflectwalk"))
+ (home-page "https://github.com/mitchellh/reflectwalk/")
+ (synopsis "Walk a value in Go using reflection")
+ (description
+ "reflectwalk is a Go library for \"walking\" a value in Go using
+reflection, in the same way a directory tree can be \"walked\" on the file
+system. Walking a complex structure can allow you to do manipulations on
+unknown structures such as those decoded from JSON.")
+ (license license:expat)))
+
(define-public go-github-com-moby-sys-mountinfo
(package
(name "go-github-com-moby-sys-mountinfo")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 32978e11a6..0d8167a749 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3417,30 +3417,6 @@ required by Go's standard Hash interface.")
(description "Just a type for protocol strings. Nothing more.")
(license license:expat))))
-(define-public go-github-com-mitchellh-reflectwalk
- (package
- (name "go-github-com-mitchellh-reflectwalk")
- (version "1.0.2")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/mitchellh/reflectwalk")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1nxgb4gskzv045539vb312n0a443308dvh1akz7vi6x1l0z46zsm"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/mitchellh/reflectwalk"))
- (home-page "https://github.com/mitchellh/reflectwalk/")
- (synopsis "Walk a value in Go using reflection")
- (description "reflectwalk is a Go library for \"walking\" a value in Go
-using reflection, in the same way a directory tree can be \"walked\" on the
-file system. Walking a complex structure can allow you to do manipulations on
-unknown structures such as those decoded from JSON.")
- (license license:expat)))
-
(define-public go-github-com-whyrusleeping-tar-utils
(let ((commit "8c6c8ba81d5c71fd69c0f48dbde4b2fb422b6dfc")
(revision "0"))