From 93e55871e3239357f417b0d0a064f9208e70717a Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Sun, 25 Oct 2020 13:34:51 -0400 Subject: gnu: Go: Update to 1.14.10. * gnu/packages/golang.scm (go-1.14): Update to 1.14.10. --- gnu/packages/golang.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index bf99fd2d07..2b60f18b04 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -226,7 +226,7 @@ in the style of communicating sequential processes (@dfn{CSP}).") (package (inherit go-1.4) (name "go") - (version "1.14.4") + (version "1.14.10") (source (origin (method git-fetch) @@ -236,7 +236,7 @@ in the style of communicating sequential processes (@dfn{CSP}).") (file-name (git-file-name name version)) (sha256 (base32 - "08bazglmqp123c9dgrxflvxd011xsqfxsgah2kzbvca0mhm6qcm3")))) + "0h1nmqzjc0xxpn6n2hjq7692gdqkznagzdmiq9490yzkrrii2lgk")))) (arguments (substitute-keyword-arguments (package-arguments go-1.4) ((#:system system) -- cgit v1.2.3 From 560eec4010f6302e2e3ec270536646ca0e12436c Mon Sep 17 00:00:00 2001 From: Ryan Prior Date: Mon, 12 Oct 2020 03:50:03 +0000 Subject: gnu: Add go-golang-org-x-xerrors. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/golang.scm (go-golang-org-x-xerrors): New variable. Signed-off-by: Ludovic Courtès --- 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 2b60f18b04..648e8cfba4 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -912,6 +912,30 @@ time.") spec in Go.") (license license:bsd-3)))) +(define-public go-golang-org-x-xerrors + (let ((commit "5ec99f83aff198f5fbd629d6c8d8eb38a04218ca") + (revision "0")) + (package + (name "go-golang-org-x-xerrors") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://go.googlesource.com/xerrors") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1dbzc3gmf2haazpv7cgmv97rq40g2xzwbglc17vas8dwhgwgwrzb")))) + (build-system go-build-system) + (arguments + '(#:import-path "golang.org/x/xerrors")) + (synopsis "Go 1.13 error values") + (description + "This package holds the transition packages for the new Go 1.13 error values.") + (home-page "https://godoc.org/golang.org/x/xerrors") + (license license:bsd-3)))) + (define-public go-github-com-burntsushi-toml (package (name "go-github-com-burntsushi-toml") -- cgit v1.2.3 From 00c0bfd4f70f5e3fa8abf36fbd436fc9399ae9ff Mon Sep 17 00:00:00 2001 From: Ryan Prior Date: Mon, 12 Oct 2020 03:50:09 +0000 Subject: gnu: go-github-com-google-go-cmp-cmp: Update to 0.5.2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/golang.scm: (go-github-com-google-go-cmp-cmp): Update to 0.5.2. Signed-off-by: Ludovic Courtès --- gnu/packages/golang.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 648e8cfba4..27ba822fb7 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3993,7 +3993,7 @@ colorized or SGR defined output to the standard output.") (define-public go-github-com-google-go-cmp-cmp (package (name "go-github-com-google-go-cmp-cmp") - (version "0.3.1") + (version "0.5.2") (source (origin (method git-fetch) (uri (git-reference @@ -4002,11 +4002,13 @@ colorized or SGR defined output to the standard output.") (file-name (git-file-name name version)) (sha256 (base32 - "1caw49i0plkjxir7kdf5qhwls3krqwfmi7g4h392rdfwi3kfahx1")))) + "0qchy411jm9q2l9mf7x3ry2ycaqp9xdhf2nx14qrpzcxfigv2705")))) (build-system go-build-system) (arguments '(#:import-path "github.com/google/go-cmp/cmp" #:unpack-path "github.com/google/go-cmp")) + (propagated-inputs + `(("go-golang-org-x-xerrors" ,go-golang-org-x-xerrors))) (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 -- cgit v1.2.3 From 719b9541aee4ff12e4a115f900082cbed6a77cd9 Mon Sep 17 00:00:00 2001 From: Ryan Prior Date: Mon, 12 Oct 2020 03:50:15 +0000 Subject: gnu: Add go-github-com-frankban-quicktest. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/golang.scm (go-github-com-frankban-quicktest): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 27ba822fb7..b824ef83b6 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5847,3 +5847,30 @@ log package. All the functionality of the built-in package still exists and is unchanged. This package contains a series of small enhancements and additions.") (license license:bsd-3)))) + +(define-public go-github-com-frankban-quicktest + (package + (name "go-github-com-frankban-quicktest") + (version "1.11.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/frankban/quicktest") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0b1b44b2hli2p969gqz30z8v9z6ahlklpqzi17nwk1lsjz9yv938")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/frankban/quicktest")) + (propagated-inputs + `(("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp) + ("go-github-com-kr-pretty" ,go-github-com-kr-pretty))) + (home-page "https://github.com/frankban/quicktest") + (synopsis "Quick helpers for testing Go applications") + (description + "Package quicktest provides a collection of Go helpers for writing +tests.") + (license license:expat))) -- cgit v1.2.3 From ba17af84c889e98e4460022b720f118f76dbf5b9 Mon Sep 17 00:00:00 2001 From: Ryan Prior Date: Mon, 12 Oct 2020 03:50:26 +0000 Subject: gnu: Add go-github-com-bep-golibsass. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/golang.scm: (go-github-com-bep-golibsass): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/golang.scm | 59 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index b824ef83b6..d2ca7c44f2 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -58,6 +58,7 @@ #:use-module (gnu packages mp3) #:use-module (gnu packages textutils) #:use-module (gnu packages tls) + #:use-module (gnu packages web) #:use-module (ice-9 match) #:use-module (srfi srfi-1)) @@ -5874,3 +5875,61 @@ additions.") "Package quicktest provides a collection of Go helpers for writing tests.") (license license:expat))) + +(define-public go-github-com-bep-golibsass + (package + (name "go-github-com-bep-golibsass") + (version "0.7.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/bep/golibsass") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0xk3m2ynbydzx87dz573ihwc4ryq0r545vz937szz175ivgfrhh3")) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file-recursively "libsass_src") + #t)))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/bep/golibsass/libsass" + #:unpack-path "github.com/bep/golibsass" + ;; The dev build tag modifies the build to link to system libsass + ;; instead of including the bundled one (which we remove.) + ;; https://github.com/bep/golibsass/blob/v0.7.0/internal/libsass/a__cgo_dev.go + #:build-flags '("-tags" "dev") + #:phases + (modify-phases %standard-phases + (add-before 'build 'generate-bindings + ;; Generate bindings for system libsass, replacing the + ;; pre-generated bindings. + (lambda* (#:key inputs unpack-path #:allow-other-keys) + (mkdir-p (string-append "src/" unpack-path "/internal/libsass")) + (let ((libsass-src (string-append (assoc-ref inputs "libsass-src") "/src"))) + (substitute* (string-append "src/" unpack-path "/gen/main.go") + (("filepath.Join\\(rootDir, \"libsass_src\", \"src\"\\)") + (string-append "\"" libsass-src "\"")) + (("../../libsass_src/src/") + libsass-src))) + (invoke "go" "generate" (string-append unpack-path "/gen")) + #t)) + (replace 'check + (lambda* (#:key tests? import-path #:allow-other-keys) + (if tests? + (invoke "go" "test" import-path "-tags" "dev")) + #t))))) + (propagated-inputs + `(("libsass" ,libsass))) + (native-inputs + `(("go-github-com-frankban-quicktest" ,go-github-com-frankban-quicktest) + ("libsass-src" ,(package-source libsass)))) + (home-page "https://github.com/bep/golibsass") + (synopsis "Easy to use Go bindings for LibSass") + (description + "This package provides SCSS compiler support for Go applications.") + (license license:expat))) -- cgit v1.2.3 From 4476137ab4594f13889eebe22a291ce9f060561a Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Tue, 27 Oct 2020 22:54:51 +0300 Subject: gnu: go-etcd-io-bbolt: Update to 1.3.5-1.f6be823. This commit updates go-etcd-io-bbolt to fix test failure. * gnu/packages/golang.scm (go-etcd-io-bbolt): Update to 1.3.5-1.f6be823. --- gnu/packages/golang.scm | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d2ca7c44f2..6db627580d 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5674,25 +5674,27 @@ deleting secrets from the system keyring.") (license license:expat))) (define-public go-etcd-io-bbolt - (package - (name "go-etcd-io-bbolt") - (version "1.3.5") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/etcd-io/bbolt") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1h64gipvcg7060byv5wjlf524kqwj12p3v08kfh4ygv46vpm8p2r")))) - (build-system go-build-system) - (arguments - `(#:import-path "go.etcd.io/bbolt")) - (home-page "https://pkg.go.dev/go.etcd.io/bbolt/") - (synopsis "Low-level key/value store in Go") - (description "This package implements a low-level key/value store in Go.") - (license license:expat))) + (let ((commit "f6be82302843a215152f5a1daf652c1ee5503f85") + (revision "1")) + (package + (name "go-etcd-io-bbolt") + (version (git-version "1.3.5" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/etcd-io/bbolt") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "01l39kbsm9hl8djnwq3d7vg5hylkm75fvwsh8d4jk8pyda2q6iqg")))) + (build-system go-build-system) + (arguments + `(#:import-path "go.etcd.io/bbolt")) + (home-page "https://pkg.go.dev/go.etcd.io/bbolt/") + (synopsis "Low-level key/value store in Go") + (description "This package implements a low-level key/value store in Go.") + (license license:expat)))) (define-public go-github-com-rogpeppe-go-internal (package -- cgit v1.2.3 From 1e76f0b0df1e8a0cb0cb942595bb9642bbb9f32b Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Wed, 28 Oct 2020 00:00:13 +0300 Subject: Revert "gnu: go-etcd-io-bbolt: Update to 1.3.5-1.f6be823." This reverts commit 4476137ab4594f13889eebe22a291ce9f060561a which doesn't really fix test. Test failures because of timed out after 10 minutes. --- gnu/packages/golang.scm | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 6db627580d..d2ca7c44f2 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5674,27 +5674,25 @@ deleting secrets from the system keyring.") (license license:expat))) (define-public go-etcd-io-bbolt - (let ((commit "f6be82302843a215152f5a1daf652c1ee5503f85") - (revision "1")) - (package - (name "go-etcd-io-bbolt") - (version (git-version "1.3.5" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/etcd-io/bbolt") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "01l39kbsm9hl8djnwq3d7vg5hylkm75fvwsh8d4jk8pyda2q6iqg")))) - (build-system go-build-system) - (arguments - `(#:import-path "go.etcd.io/bbolt")) - (home-page "https://pkg.go.dev/go.etcd.io/bbolt/") - (synopsis "Low-level key/value store in Go") - (description "This package implements a low-level key/value store in Go.") - (license license:expat)))) + (package + (name "go-etcd-io-bbolt") + (version "1.3.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/etcd-io/bbolt") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1h64gipvcg7060byv5wjlf524kqwj12p3v08kfh4ygv46vpm8p2r")))) + (build-system go-build-system) + (arguments + `(#:import-path "go.etcd.io/bbolt")) + (home-page "https://pkg.go.dev/go.etcd.io/bbolt/") + (synopsis "Low-level key/value store in Go") + (description "This package implements a low-level key/value store in Go.") + (license license:expat))) (define-public go-github-com-rogpeppe-go-internal (package -- cgit v1.2.3 From a168470dd8acea23b095fe474efea4aab7192afb Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Fri, 30 Oct 2020 17:10:02 -0700 Subject: gnu: go-github-com-olekukonko-tablewriter: Fix grammar. * gnu/packages/golang (go-github-com-olekukonko-tablewriter)[description]: Remove gratuitous use of "allows to" and fix pluralization. --- gnu/packages/golang.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d2ca7c44f2..6ba735c4a2 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5148,7 +5148,7 @@ escape sequences and color conversions.") `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth))) (home-page "https://github.com/olekukonko/tablewriter/") (synopsis "Generate ASCII table") - (description "This package allows to generate ASCII table. Features: + (description "This package generates ASCII tables. Features: @itemize @item automatic Padding @item support Multiple Lines -- cgit v1.2.3 From 336c9f0a81c9bc0ed0a2d3e0d050a677806c07c0 Mon Sep 17 00:00:00 2001 From: raingloom Date: Thu, 29 Oct 2020 17:10:25 +0100 Subject: gnu: Add go-github-com-hashicorp-go-syslog. * gnu/packages/golang.scm (go-github-com-hashicorp-go-syslog): New variable. Signed-off-by: Julien Lepiller --- 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 6ba735c4a2..ba75308a4a 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5933,3 +5933,25 @@ tests.") (description "This package provides SCSS compiler support for Go applications.") (license license:expat))) + +(define-public go-github-com-hashicorp-go-syslog + (package + (name "go-github-com-hashicorp-go-syslog") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hashicorp/go-syslog") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "09vccqggz212cg0jir6vv708d6mx0f9w5bxrcdah3h6chgmal6v1")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/hashicorp/go-syslog")) + (home-page "https://github.com/hashicorp/go-syslog") + (synopsis "Golang syslog wrapper, cross-compile friendly") + (description "This package is a very simple wrapper around log/syslog") + (license license:expat))) -- cgit v1.2.3 From 1ce9759407f000a1333ef97a70b347b9cd4b8a4c Mon Sep 17 00:00:00 2001 From: raingloom Date: Fri, 23 Oct 2020 02:03:41 +0200 Subject: gnu: Add go-github-com-hjson-hjson-go. * gnu/packages/golang.scm (go-github-com-hjson-hjson-go): New variable. Signed-off-by: Julien Lepiller --- 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 ba75308a4a..d4de1f5c45 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5955,3 +5955,27 @@ tests.") (synopsis "Golang syslog wrapper, cross-compile friendly") (description "This package is a very simple wrapper around log/syslog") (license license:expat))) + +(define-public go-github-com-hjson-hjson-go + (package + (name "go-github-com-hjson-hjson-go") + (version "3.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hjson/hjson-go") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1dfdiahimg6z9idg8jiqxwnlwjnmasbjccx8gnag49cz4yfqskaz")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/hjson/hjson-go")) + (home-page "https://hjson.org/") + (synopsis "Human JSON implementation for Go") + (description "Hjson is a syntax extension to JSON. It is intended to be +used like a user interface for humans, to read and edit before passing the +JSON data to the machine.") + (license license:expat))) -- cgit v1.2.3 From 546ddefc762ced5fa90d812ddb84bd9d08d250c4 Mon Sep 17 00:00:00 2001 From: raingloom Date: Thu, 5 Nov 2020 14:48:39 +0100 Subject: gnu: Add go-golang-zx2c4-com-wireguard. * gnu/packages/golang.scm (go-golang-zx2c4-com-wireguard): New variable. Signed-off-by: Julien Lepiller --- gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d4de1f5c45..66d734a261 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5979,3 +5979,33 @@ tests.") used like a user interface for humans, to read and edit before passing the JSON data to the machine.") (license license:expat))) + +(define-public go-golang-zx2c4-com-wireguard + (package + (name "go-golang-zx2c4-com-wireguard") + (version "0.0.20200320") + (source + (origin + (method git-fetch) + ;; NOTE: module URL is a redirect + ;; target: git.zx2c4.com/wireguard-go + ;; source: golang.zx2c4.com/wireguard + (uri (git-reference + (url "https://git.zx2c4.com/wireguard-go/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0fy4qsss3i3pkq1rpgjds4aipbwlh1dr9hbbf7jn2a1c63kfks0r")))) + (build-system go-build-system) + (arguments + '(#:import-path "golang.zx2c4.com/wireguard")) + (propagated-inputs + `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto) + ("go-golang-org-x-net" ,go-golang-org-x-net) + ("go-golang-org-x-sys" ,go-golang-org-x-sys) + ("go-golang-org-x-text" ,go-golang-org-x-text))) + (home-page "https://git.zx2c4.com/wireguard") + (synopsis "Implementation of WireGuard in Go") + (description "This package is a Go Implementation of WireGuard.") + (license license:expat))) -- cgit v1.2.3 From 6ba1769da137ca34923e229a49a40c1fb32b8125 Mon Sep 17 00:00:00 2001 From: raingloom Date: Sat, 17 Oct 2020 20:56:53 +0200 Subject: gnu: Add go-github-com-kardianos-minwinsvc. * gnu/packages/golang.scm (go-github-com-kardianos-minwinsvc): New variable. Signed-off-by: Julien Lepiller --- gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 66d734a261..82573bd099 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -6009,3 +6009,29 @@ JSON data to the machine.") (synopsis "Implementation of WireGuard in Go") (description "This package is a Go Implementation of WireGuard.") (license license:expat))) + +(define-public go-github-com-kardianos-minwinsvc + (package + (name "go-github-com-kardianos-minwinsvc") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kardianos/minwinsvc") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0z941cxymkjcsj3p5l3g4wm2da3smz7iyqk2wbs5y8lmxd4kfzd8")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/kardianos/minwinsvc")) + (home-page "https://github.com/kardianos/minwinsvc/") + ;; some packages (Yggdrasil) need it to compile + ;; it's a tiny package and it's easier to bundle it than to patch it out + (synopsis "Minimal windows only service stub for Go") + (description "Go programs designed to run from most *nix style operating +systems can import this package to enable running programs as services without +modifying them.") + (license license:zlib))) -- cgit v1.2.3