summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-12-28 15:55:15 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:42:33 +0000
commit1504f45abbaf94d5026bf94a9f997201efe8f092 (patch)
tree76e018cc0ee0f170f4202a2f3434c1a458a78530 /gnu/packages/golang-xyz.scm
parent77a30f3ce3d5ff3458c3e25cf16f600428b48c76 (diff)
gnu: go-github-com-mitchellh-copystructure: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-mitchellh-copystructure): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: I7c0276bdd98961223760bc809707a92f6d1231bb
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 0303e2e9bc..1f0db6ce9a 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -8204,6 +8204,35 @@ colored strings.")
"Colorstring provides functions for colorizing strings for terminal output.")
(license license:expat)))
+(define-public go-github-com-mitchellh-copystructure
+ (package
+ (name "go-github-com-mitchellh-copystructure")
+ (version "1.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mitchellh/copystructure")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1izw243b3r03nvgnnxvk706l3s3v3q7k69kq3n4asnzjkcymq7sm"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/mitchellh/copystructure"))
+ (propagated-inputs
+ (list go-github-com-mitchellh-reflectwalk))
+ (home-page "https://github.com/mitchellh/copystructure")
+ (synopsis "Go library for decoding deep copying values")
+ (description "@code{copystructure} is a Go library for deep copying values
+in Go.
+
+This allows you to copy Go values that may contain reference values such as
+maps, slices, or pointers, and copy their data as well instead of just their
+references.")
+ (license license:expat)))
+
(define-public go-github-com-mitchellh-go-homedir
(package
(name "go-github-com-mitchellh-go-homedir")