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") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 084fad84ba..c677a22af3 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3441,35 +3441,6 @@ 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-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 - `(#: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-whyrusleeping-tar-utils (let ((commit "8c6c8ba81d5c71fd69c0f48dbde4b2fb422b6dfc") (revision "0"))