From 07f7bf3624b519498b694825eb6b9b0f45af7492 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Thu, 2 Jan 2020 21:44:51 +0100 Subject: gnu: Add go-github-com-fatih-color. * gnu/packages/golang.scm (go-github-com-fatih-color): New variable. --- gnu/packages/golang.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 76b93c0d14..5d2eef699b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3036,3 +3036,25 @@ (define-public go-github-com-shirou-gopsutil sensors).") (home-page "https://github.com/shirou/gopsutil") (license license:bsd-3)))) + +(define-public go-github-com-fatih-color + (package + (name "go-github-com-fatih-color") + (version "1.8.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fatih/color.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/fatih/color")) + (synopsis "Print colored text in Go") + (description "This package provides an ANSI color package to output +colorized or SGR defined output to the standard output.") + (home-page "https://godoc.org/github.com/fatih/color") + (license license:expat))) -- cgit v1.2.3 From ee46bc5983063d5662417d722e85e00abb6737de Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Thu, 2 Jan 2020 22:43:26 +0100 Subject: gnu: Add go-github-com-google-go-cmp-cmp. * gnu/packages/golang.scm (go-github-com-google-go-cmp-cmp): New variable. --- gnu/packages/golang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 5d2eef699b..d66527c660 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3058,3 +3058,27 @@ (define-public go-github-com-fatih-color colorized or SGR defined output to the standard output.") (home-page "https://godoc.org/github.com/fatih/color") (license license:expat))) + +(define-public go-github-com-google-go-cmp-cmp + (package + (name "go-github-com-google-go-cmp-cmp") + (version "0.3.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/go-cmp.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1caw49i0plkjxir7kdf5qhwls3krqwfmi7g4h392rdfwi3kfahx1")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/google/go-cmp/cmp" + #:unpack-path "github.com/google/go-cmp")) + (synopsis "Determine equality of values in Go") + (description "This package provides a more powerful and safer +alternative to @code{reflect.DeepEqual} for comparing whether two values +are semantically equal in Go (for writing tests).") + (home-page "https://godoc.org/github.com/google/go-cmp/cmp") + (license license:asl2.0))) -- cgit v1.2.3 From 28cdd818faf78d24841a965cf05a85b96fbd7ed5 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Fri, 3 Jan 2020 01:26:29 +0100 Subject: gnu: go-github-com-spf13-pflag: Update to 1.0.5. * gnu/packages/golang.scm (go-github-com-spf13-pflag): Update to 1.0.5. --- gnu/packages/golang.scm | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d66527c660..f94251abaf 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1128,33 +1128,31 @@ (define-public go-github-com-jonboulle-clockwork (license license:asl2.0)))) (define-public go-github-com-spf13-pflag - (let ((commit "4f9190456aed1c2113ca51ea9b89219747458dc1") - (revision "0")) - (package - (name "go-github-com-spf13-pflag") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/spf13/pflag.git") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "12vrlcsbwjqlfc49rwky45mbcj74c0kb6z54354pzas6fwzyi1kc")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/spf13/pflag")) - (home-page "https://github.com/spf13/pflag") - (synopsis "Replacement for Go's @code{flag} package") - (description - "Pflag is library to replace Go's @code{flag} package. It implements + (package + (name "go-github-com-spf13-pflag") + (version "1.0.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/spf13/pflag.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0gpmacngd0gpslnbkzi263f5ishigzgh6pbdv9hp092rnjl4nd31")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/spf13/pflag")) + (home-page "https://github.com/spf13/pflag") + (synopsis "Replacement for Go's @code{flag} package") + (description + "Pflag is library to replace Go's @code{flag} package. It implements POSIX/GNU-style command-line options with double hyphens. It is is compatible with the @uref{https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html, GNU extensions} to the POSIX recommendations for command-line options.") - (license license:bsd-3)))) + (license license:bsd-3))) (define-public go-github-com-sirupsen-logrus (package -- cgit v1.2.3