From 289e43b2973d2b929e15b4c7f4580fed7d51f248 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Thu, 17 Feb 2022 19:30:58 -0500 Subject: gnu: Go 1.16: Update to 1.16.14. * gnu/packages/golang.scm (go-1.16): Update to 1.16.14. --- 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 4471fea19d..aeca7c23c4 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -466,7 +466,7 @@ in the style of communicating sequential processes (@dfn{CSP}).") (package (inherit go-1.14) (name "go") - (version "1.16.13") + (version "1.16.14") (source (origin (method git-fetch) @@ -476,7 +476,7 @@ in the style of communicating sequential processes (@dfn{CSP}).") (file-name (git-file-name name version)) (sha256 (base32 - "03f37dspn4h5kqf0nqwmnl858wx6hngnlvbnrjl1ll6ihc5j66jz")))) + "16pn7avzmlw28sldx6yv38a1afdwj7jz3x7kjvlagysqrsh5lwwl")))) (arguments (substitute-keyword-arguments (package-arguments go-1.14) ((#:tests? _) #t) -- cgit v1.2.3 From 1d1a4efd8cdac3757792cfbae92440edc5c3a802 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Thu, 17 Feb 2022 19:31:18 -0500 Subject: gnu: Go: Update to 1.17.7. * gnu/packages/golang.scm (go-1.17): Update to 1.17.7. --- 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 aeca7c23c4..0750fa4ce2 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -625,7 +625,7 @@ in the style of communicating sequential processes (@dfn{CSP}).") (package (inherit go-1.16) (name "go") - (version "1.17.6") + (version "1.17.7") (source (origin (method git-fetch) @@ -635,7 +635,7 @@ in the style of communicating sequential processes (@dfn{CSP}).") (file-name (git-file-name name version)) (sha256 (base32 - "05k292i9qayfy5wh96z4kjmx1mfd5birnr25vb0blzaam72mcsgw")))) + "0d0xybn7sy4za3f0s2ffb6yfv6pjabnk4jyvz7dn3hjqhd5lks7m")))) (outputs '("out" "tests")) ; 'tests' contains distribution tests. (arguments `(#:modules ((ice-9 match) -- cgit v1.2.3 From 218400c0f7d754467eac20bbdea3c5282efe7b2e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 22 Feb 2022 15:20:51 +0200 Subject: gnu: go-1.14: Remove powerpc-linux from supported-systems. * gnu/packages/golang.scm (go-1.14)[supported-systems]: Remove powerpc-linux from supported-systems. --- 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 0750fa4ce2..0f80d4aba7 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -460,7 +460,7 @@ in the style of communicating sequential processes (@dfn{CSP}).") `(("gold" ,binutils-gold))) (_ `())) ,@(package-native-inputs go-1.4))) - (supported-systems %supported-systems))) + (supported-systems (delete "powerpc-linux" %supported-systems)))) (define-public go-1.16 (package -- cgit v1.2.3 From c026d5cb531bb831cc521272a5aa2851648b8899 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 22 Feb 2022 15:51:53 +0200 Subject: gnu: go-github.com-jessevdk-go-flags: Update to 1.5.0. * gnu/packages/golang.scm (go-github.com-jessevdk-go-flags): Update to 1.5.0. [arguments]: Add custom phase to fix tests. [propagated-inputs]: Add go-golang-org-x-sys. --- gnu/packages/golang.scm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 0f80d4aba7..a093728805 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2107,7 +2107,7 @@ specified by @uref{https://tools.ietf.org/html/rfc2141, IETF RFC 2141}.") (define-public go-github.com-jessevdk-go-flags (package (name "go-github.com-jessevdk-go-flags") - (version "1.3.0") + (version "1.5.0") (source (origin (method git-fetch) (uri (git-reference @@ -2115,11 +2115,19 @@ specified by @uref{https://tools.ietf.org/html/rfc2141, IETF RFC 2141}.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 - "1jk2k2l10lwrn1r3nxdvbs0yz656830j4khzirw8p4ahs7c5zz36")))) + (base32 "13ixw1yx4bvcj66lkc8zgwf9j7gkvj686g991gycdsafvdvca0lj")))) (build-system go-build-system) (arguments - '(#:import-path "github.com/jessevdk/go-flags")) + '(#:import-path "github.com/jessevdk/go-flags" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-tests + (lambda _ + ;; SOURCE_DATE_EPOCH messes with the date on the man page test. + (substitute* "src/github.com/jessevdk/go-flags/help_test.go" + (("TestMan") "DisabledTestMan"))))))) + (propagated-inputs + (list go-golang-org-x-sys)) (synopsis "Go library for parsing command line arguments") (description "The @code{flags} package provides a command line option parser. The -- cgit v1.2.3 From 7722184e6f7db969470b9742434e551ef61ead3a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 22 Feb 2022 16:00:20 +0200 Subject: gnu: Add go-github-com-xdg-go-stringprep. * gnu/packages/golang.scm (go-github-com-xdg-go-stringprep): New variable. --- gnu/packages/golang.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a093728805..e1d9d1fcde 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7867,6 +7867,31 @@ and @code{ioutil} packages that is easy to test.") @uref{freedesktop.org}.") (license license:expat))) +(define-public go-github-com-xdg-go-stringprep + (package + (name "go-github-com-xdg-go-stringprep") + (version "1.0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/xdg-go/stringprep") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1df0l5n3c520y9filzz83j42wa5c056jcygmfwhjyf1pq8f6jkv9")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/xdg-go/stringprep")) + (propagated-inputs + (list go-golang-org-x-text)) + (home-page "https://github.com/xdg-go/stringprep") + (synopsis "Go implementation of RFC-3454 stringprep and RFC-4013 SASLprep") + (description + "Package stringprep provides data tables and algorithms for RFC-3454, +including errata. It also provides a profile for SASLprep as defined in +RFC-4013.") + (license license:asl2.0))) + (define-public go-github-com-godbus-dbus (package (name "go-github-com-godbus-dbus") -- cgit v1.2.3 From 18b0527765301a3015afb9ba1209bd10f56426cb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 22 Feb 2022 16:00:21 +0200 Subject: gnu: Add go-github-com-niemeyer-pretty. * gnu/packages/golang.scm (go-github-com-niemeyer-pretty): New variable. --- gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e1d9d1fcde..b59550e0ad 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5511,6 +5511,35 @@ format in Go.") (home-page "https://github.com/kr/pretty") (license license:expat))) +(define-public go-github-com-niemeyer-pretty + (package + (name "go-github-com-niemeyer-pretty") + (version "0.0.0-20200227124842-a10e7caefd8e") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/niemeyer/pretty") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jmazh4xzaa3v6g46hz60q2z7nmqs9l9cxdzmmscn3kbcs2znq4v")) + (modules '((guix build utils))) + (snippet + '(begin + ;; https://github.com/kr/pretty/pull/66 + (substitute* "formatter.go" + (("string\\(i\\)") "string(rune(i))")))))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/niemeyer/pretty")) + (propagated-inputs + (list go-github-com-kr-text)) + (home-page "https://github.com/niemeyer/pretty") + (synopsis "Pretty printer for Go values") + (description "This package provides a pretty printer for Go values.") + (license license:expat))) + (define-public go-github-com-kylelemons-godebug (package (name "go-github-com-kylelemons-godebug") -- cgit v1.2.3 From 092dba879a2d960309a2220eeb4d792d72f8c585 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 22 Feb 2022 16:00:21 +0200 Subject: gnu: Add go-github-com-docker-go-units. * gnu/packages/golang.scm (go-github-com-docker-go-units): 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 b59550e0ad..500b8d96d6 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3892,6 +3892,28 @@ the Go language. In particular it provides tools to deal with network address translation (NAT), proxies, sockets, and transport layer security (TLS).") (license license:asl2.0)))) +(define-public go-github-com-docker-go-units + (package + (name "go-github-com-docker-go-units") + (version "0.4.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/docker/go-units") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0k8gja8ql4pqg5rzmqvka42vjfs6rzablak87whcnqba6qxpimvz")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/docker/go-units")) + (home-page "https://github.com/docker/go-units") + (synopsis "Parse and print size and time units in human-readable format") + (description + "@code{go-units} is a library to transform human friendly measurements into +machine friendly values.") + (license license:asl2.0))) + (define-public go-github-com-docker-machine (let ((commit "7b7a141da84480342357c51838be142bf183b095") (revision "0")) -- cgit v1.2.3 From fe8c2d907aa05fb080573becf05d342485390df1 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 22 Feb 2022 16:00:50 +0200 Subject: gnu: Add go-github-com-xdg-go-pbkdf2. * gnu/packages/golang.scm (go-github-com-xdg-go-pbkdf2): New variable. --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 500b8d96d6..46ca2d574c 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7943,6 +7943,29 @@ including errata. It also provides a profile for SASLprep as defined in RFC-4013.") (license license:asl2.0))) +(define-public go-github-com-xdg-go-pbkdf2 + (package + (name "go-github-com-xdg-go-pbkdf2") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/xdg-go/pbkdf2") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1nipijy5xkdnfyhkp5ryrjzm14si1i2v2xyfmblf84binwkbr8jh")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/xdg-go/pbkdf2")) + (home-page "https://github.com/xdg-go/pbkdf2") + (synopsis "Go implementation of PBKDF2") + (description + "Package pbkdf2 implements password-based key derivation using the PBKDF2 +algorithm described in @url{https://rfc-editor.org/rfc/rfc2898.html,RFC 2898} +and @url{https://rfc-editor.org/rfc/rfc8018.html,RFC 8018}.") + (license license:asl2.0))) + (define-public go-github-com-godbus-dbus (package (name "go-github-com-godbus-dbus") -- cgit v1.2.3 From 78ff328d25eee0c75305efed58484ac2381e1766 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 22 Feb 2022 16:01:05 +0200 Subject: gnu: Add go-github-com-xdg-go-scram. * gnu/packages/golang.scm (go-github-com-xdg-go-scram): New variable. --- 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 46ca2d574c..9ee8055eab 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7966,6 +7966,32 @@ algorithm described in @url{https://rfc-editor.org/rfc/rfc2898.html,RFC 2898} and @url{https://rfc-editor.org/rfc/rfc8018.html,RFC 8018}.") (license license:asl2.0))) +(define-public go-github-com-xdg-go-scram + (package + (name "go-github-com-xdg-go-scram") + (version "1.0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/xdg-go/scram") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jyv4qgc1dgh3v96pazmgljpp9ij25k8hwn0v4fck18g16i0nccm")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/xdg-go/scram")) + (propagated-inputs + (list go-github-com-xdg-go-stringprep + go-github-com-xdg-go-pbkdf2)) + (home-page "https://github.com/xdg-go/scram") + (synopsis "Go implementation of RFC-5802") + (description + "Package scram provides client and server implementations of the +@acronym{Salted Challenge Response Authentication Mechanism, SCRAM} described in +RFC-5802 and RFC-7677.") + (license license:asl2.0))) + (define-public go-github-com-godbus-dbus (package (name "go-github-com-godbus-dbus") -- cgit v1.2.3 From 7311a36a544149e5a4478f89df29084a880edd78 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 8 Mar 2022 09:38:16 +0200 Subject: Revert "gnu: Add go-github-com-niemeyer-pretty." This reverts commit 18b0527765301a3015afb9ba1209bd10f56426cb. This package is not actually needed. --- gnu/packages/golang.scm | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 9ee8055eab..7080bb6e24 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5533,35 +5533,6 @@ format in Go.") (home-page "https://github.com/kr/pretty") (license license:expat))) -(define-public go-github-com-niemeyer-pretty - (package - (name "go-github-com-niemeyer-pretty") - (version "0.0.0-20200227124842-a10e7caefd8e") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/niemeyer/pretty") - (commit (go-version->git-ref version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1jmazh4xzaa3v6g46hz60q2z7nmqs9l9cxdzmmscn3kbcs2znq4v")) - (modules '((guix build utils))) - (snippet - '(begin - ;; https://github.com/kr/pretty/pull/66 - (substitute* "formatter.go" - (("string\\(i\\)") "string(rune(i))")))))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/niemeyer/pretty")) - (propagated-inputs - (list go-github-com-kr-text)) - (home-page "https://github.com/niemeyer/pretty") - (synopsis "Pretty printer for Go values") - (description "This package provides a pretty printer for Go values.") - (license license:expat))) - (define-public go-github-com-kylelemons-godebug (package (name "go-github-com-kylelemons-godebug") -- cgit v1.2.3 From 4b5b3b8eb2739ec6c051fe7ce31bd86446bd3526 Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Fri, 4 Mar 2022 13:01:09 +0000 Subject: gnu: go-1.16: Do not run tests when cross-compiling. * gnu/packages/golang.scm (go-1.16)[arguments]: Remove #:tests?. Signed-off-by: Maxim Cournoyer --- 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 7080bb6e24..705b803599 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -478,8 +478,8 @@ in the style of communicating sequential processes (@dfn{CSP}).") (base32 "16pn7avzmlw28sldx6yv38a1afdwj7jz3x7kjvlagysqrsh5lwwl")))) (arguments - (substitute-keyword-arguments (package-arguments go-1.14) - ((#:tests? _) #t) + (substitute-keyword-arguments + (strip-keyword-arguments '(#:tests?) (package-arguments go-1.14)) ((#:phases phases) `(modify-phases ,phases (add-after 'unpack 'remove-unused-sourcecode-generators -- cgit v1.2.3 From 3a68cf2b96b5bb89be9c083b1770285bfadca41a Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 1 Mar 2022 00:58:14 +0100 Subject: gnu: Add go-github-com-schachmat-ingo. * gnu/packages/golang.scm (go-github-com-schachmat-ingo): 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 705b803599..a8b845e301 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1158,6 +1158,28 @@ terminals.") proxy protocol.") (license license:asl2.0))) +(define-public go-github-com-schachmat-ingo + (package + (name "go-github-com-schachmat-ingo") + (version "0.0.0-20170403011506-a4bdc0729a3f") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/schachmat/ingo") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1gw0kddy7jh3467imsqni86cf9yq7k6vpfc0ywkbwj0zsjsdgd49")))) + (build-system go-build-system) + (arguments '(#:import-path "github.com/schachmat/ingo")) + (home-page "https://github.com/schachmat/ingo") + (synopsis "Go library to persist flags in a INI-like configuration file") + (description + "Ingo is a Go library helping you to persist flags in a INI-like +configuration file.") + (license license:isc))) + (define-public go-github-com-riobard-go-bloom (let ((commit "cdc8013cb5b3eb0efebec85f0e904efccac42df9") (revision "0")) -- cgit v1.2.3