[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/60: gnu: Add go-github-com-mitchellh-copystructure.
From: |
guix-commits |
Subject: |
07/60: gnu: Add go-github-com-mitchellh-copystructure. |
Date: |
Sun, 9 Aug 2020 10:24:51 -0400 (EDT) |
wigust pushed a commit to branch master
in repository guix.
commit c08dd5c5f9cb4505b19e2561c693c7af76836fdc
Author: Oleg Pykhalov <go.wigust@gmail.com>
AuthorDate: Sat Aug 8 23:04:55 2020 +0300
gnu: Add go-github-com-mitchellh-copystructure.
* gnu/packages/golang.scm (go-github-com-mitchellh-copystructure): New
variable.
---
gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c87bc26..83d28cb 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2777,6 +2777,36 @@ using reflection, in the same way a directory tree can
be \"walked\" on the
filesystem. 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.0.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
+ "05njg92w1088v4yl0js0zdrpfq6k37i9j14mxkr3p90p5yd9rrrr"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/mitchellh/copystructure"))
+ (native-inputs
+ `(("go-github-com-mitchellh-reflectwalk"
,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-multiformats-go-multiaddr
(let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
(revision "0"))
- branch master updated (e8f0433 -> fdb77b3), guix-commits, 2020/08/09
- 02/60: gnu: Add go-github-com-masterminds-semver., guix-commits, 2020/08/09
- 04/60: gnu: Add go-github-com-huandu-xstrings., guix-commits, 2020/08/09
- 09/60: gnu: Add go-github-com-bmatcuk-doublestar., guix-commits, 2020/08/09
- 03/60: gnu: Add go-github-com-google-uuid., guix-commits, 2020/08/09
- 06/60: gnu: Add go-github-com-mitchellh-reflectwalk., guix-commits, 2020/08/09
- 07/60: gnu: Add go-github-com-mitchellh-copystructure.,
guix-commits <=
- 01/60: gnu: Add go-github-com-masterminds-goutils., guix-commits, 2020/08/09
- 05/60: gnu: Add go-github-com-imdario-mergo., guix-commits, 2020/08/09
- 08/60: gnu: Add go-github-com-masterminds-sprig., guix-commits, 2020/08/09
- 11/60: gnu: Add go-github-com-alecthomas-colour., guix-commits, 2020/08/09
- 14/60: gnu: Add go-github-com-alecthomas-assert., guix-commits, 2020/08/09
- 15/60: gnu: Add go-github-com-alecthomas-chroma., guix-commits, 2020/08/09
- 10/60: gnu: Add go-github-com-dlclark-regexp2., guix-commits, 2020/08/09
- 12/60: gnu: Add go-github-com-alecthomas-repr., guix-commits, 2020/08/09
- 13/60: gnu: Add go-github-com-sergi-go-diff., guix-commits, 2020/08/09
- 16/60: gnu: Add go-github-com-andybalholm-cascadia., guix-commits, 2020/08/09