553 Commits

Author SHA1 Message Date
Sarah Morgensen
717be95339
build-system/go: Use go-1.17 by default.
Build all Go packages with go-1.17 by default.  Explicitly specify an
older Go version in packages which cannot build with go-1.17.

* gnu/packages/golang.scm (go): Update from 'go-1.14' to 'go-1.17'.
* gnu/packages/docker.scm (docker)[native-inputs]: Explicitly use 'go-1.14'.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-cmdkit-files)[arguments]:
Explicitly use Go 1.16.
(go-ipfs)[arguments]: Use the default version of Go.
* gnu/packages/syncthing.scm (syncthing)[arguments]: Likewise.
* gnu/packages/admin.scm (runitor)[arguments]: Likewise.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-24 16:32:25 -05:00
Sarah Morgensen
d6121d7dd6
build-system/go: Add pre-built standard library as implicit input.
* gnu/packages/golang.scm (make-go-std): New procedure.
* guix/build-system/go.scm (make-go-std): New procedure.
(lower): Use it.  Add pre-built standard library to inputs.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-24 16:32:25 -05:00
Liliana Marie Prikler
9d636f2d7b
gnu: Move go-github-com-aswinkarthik-csvdiff to textutils.
This fixes a build error caused by cross-module use of deprecated-package.

* gnu/packages/golang.scm (go-github-com-aswinkarthik-csvdiff): Move from
here...
* gnu/packages/textutils.scm (go-github-com-aswinkarthik-csvdiff): ... to here.
2021-12-24 16:31:04 +01:00
Efraim Flashner
8f85e4f9aa
gnu: go-1.17: Build with gcc:lib on arm* architectures.
* gnu/packages/golang.scm (go-1.17)[arguments]: Add phase on arm*
architectures to link to gcc:lib.
[inputs]: When building for arm* don't remove gcc:lib.
2021-12-21 18:24:01 +02:00
Efraim Flashner
7ccfec3065
gnu: go-1.17: Simplify native-inputs.
* gnu/packages/golang.scm (go-1.17)[native-inputs]: Remove unnecessary
quoting.
2021-12-21 18:24:00 +02:00
BonfaceKilz
b9e5e93342
gnu: Move csvdiff to (gnu packages textutils).
* gnu/packages/golang.scm (go-github-com-aswinkarthik-csvdiff): Add deprecated
alias. Move to ...
* gnu/packages/textutils (csvdiff): ... here.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2021-12-20 10:58:21 +05:30
Leo Famulari
065c5e9435
gnu: Go 1.17: Update to 1.17.5.
* gnu/packages/golang.scm (go-1.17): Update to 1.17.5.
2021-12-17 18:18:28 -05:00
Leo Famulari
01aba21913
gnu: Go 1.16: Update to 1.16.12.
* gnu/packages/golang.scm (go-1.16): Update to 1.16.12.
2021-12-17 18:18:27 -05:00
Ludovic Courtès
8394619bac
gnu: Simplify package inputs.
This commit was obtained by running:

  ./pre-inst-env guix style

without any additional argument.
2021-12-13 17:48:25 +01:00
Efraim Flashner
8226771a33
gnu: go-1.14: Fix building on some platforms.
* gnu/packages/golang.scm (go-1.14)[arguments]: In custom 'prebuild
phase also search for loader without 'linux' in the string. In custom
'build phase set the GOCACHE directory.
[native-inputs]: On systems which don't have support in go-1.4 use
gccgo-10 instead.
2021-12-12 14:25:45 +02:00
Mathieu Othacehe
32750e8c3e
Merge remote-tracking branch 'signed/master' into core-updates 2021-12-10 21:49:25 +01:00
Philip McGrath
5cf2c889c9
gnu: sendgmail: Rename package to match command.
Suggested by Ludo’ in <https://issues.guix.gnu.org/50420#3>.

* gnu/packages/golang.scm
(go-github-com-google-gmail-oauth2-tools-go-sendgmail): Move to ...
* gnu/packages/mail.scm (sendgmail): ... this variable.
Change `propagated-inputs` to `inputs`.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-10 15:32:45 +01:00
Sarah Morgensen
8ac2d303e4
gnu: go-github-com-alcortesm-tgz: Don't reset gzip timestamps.
The tgz files are committed test fixtures, so don't reset their timestamps.

* gnu/packages/golang.scm (go-github-com-alcortesm-tgz)[arguments]:
Remove 'make-git-checkout-writable' phase.  Delete 'reset-gzip-timestamps' phase
instead.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-08 13:35:34 -05:00
Leo Famulari
404f695385
gnu: Go 1.17: Update to 1.17.4.
* gnu/packages/golang.scm (go-1.17): Update to 1.17.4.
2021-12-06 12:40:38 -05:00
Leo Famulari
e4d8f2fe31
gnu: Go 1.16: Update to 1.16.11.
* gnu/packages/golang.scm (go-1.16): Update to 1.16.11.
2021-12-06 12:40:38 -05:00
Efraim Flashner
30c776a6a8
gnu: go-gopkg-in-yaml-v2: Update to 2.4.0.
* gnu/packages/golang.scm (go-gopkg-in-yaml-v2): Update to 2.4.0.
2021-12-06 14:45:50 +02:00
Efraim Flashner
c569430b6c
gnu: go-gopkg-in-yaml-v2: Fix test suite on 32-bit systems.
* gnu/packages/golamg.scm (go-gopkg-in-yaml-v2)[source]: Add snippet to
no longer cause integer overflow on 32-bit systems during test suite.
2021-12-06 14:43:17 +02:00
Ricardo Wurmus
9bc0f45df5
Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-12-05 19:17:41 +01:00
Efraim Flashner
d19e646c83
gnu: go-golang-zx2c4-com-wireguard: Fix downloading source.
* gnu/packages/golang.scm (go-golang-zx2c4-com-wireguard)[source]:
Adjust commit string in git-reference.
2021-12-02 14:13:27 +02:00
Efraim Flashner
e0755470f8
gnu: go-github-com-vividcortex-ewma: Adjust import-path.
* gnu/packages/golang.scm (go-github-com-vividcortex-ewma)[arguments]:
Adjust import-path to location other go packages expect it to be.
2021-12-02 14:12:31 +02:00
raingloom
dee3e337b6
gnu: Add go-github-com-arceliar-ironwood.
* gnu/packages/golang.scm (go-github-com-arceliar-ironwood): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-12-01 17:03:34 +01:00
raingloom
7e4b418733
gnu: Rename go-github-com-cheggaaa-pb to go-github-com-cheggaaa-pb-v3.
* gnu/packages/golang.scm (go-github-com-cheggaaa-pb): Rename this variable...
(go-github-com-cheggaaa-pb-v3): ...to this variable.
(go-github-com-cheggaaa-pb): New variable for deprecated package.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2021-12-01 17:03:34 +01:00
raingloom
b7e774a828
gnu: go-github-com-cheggaaa-pb: Update to 3.0.8.
* gnu/packages/golang.scm (go-github-com-cheggaaa-pb): Update to 3.0.8.
[arguments]: Disable tests; update import path.
[native-inputs]: Move go-github-com-mattn-go-isatty from here...
[propagated-inputs]: ...to here; add go-github-com-vividcortex-ewma and
go-github-com-rivo-uniseg.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-12-01 17:03:34 +01:00
raingloom
660062a65b
gnu: Add go-github-com-mattn-go-runewidth.
* gnu/packages/golang.scm (go-github-com-mattn-go-runewidth): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-12-01 17:03:34 +01:00
raingloom
f3861469b6
gnu: Add go-github-com-rivo-uniseg.
* gnu/packages/golang.scm (go-github-com-rivo-uniseg): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-12-01 17:03:34 +01:00
raingloom
b3a9d079b8
gnu: Add go-github-com-vividcortex-ewma.
* gnu/packages/golang.scm (go-github-com-vividcortex-ewma): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-12-01 17:03:34 +01:00
Mathieu Othacehe
e486b2b674
Merge remote-tracking branch 'signed/master' into core-updates 2021-10-18 14:37:26 +00:00
Ludovic Courtès
846a215252
gnu: go-golang-org-x-mod: Update source URL.
* gnu/packages/golang.scm (go-golang-org-x-mod)[source]: Update URL.
2021-10-18 10:19:13 +02:00
Chadwain Holness
62c0139b45
gnu: Add go-gopkg-in-djherbis-times-v1.
* gnu/packages/golang.scm (go-gopkg-in-djherbis-times-v1): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-14 15:45:35 +02:00
Marius Bakke
0f77e50139
Merge branch 'master' into core-updates-frozen 2021-10-14 00:01:12 +02:00
hackeryarn
1628e5d51b
gnu: Add go-golang-org-x-mod.
* gnu/packages/golang.scm (go-golang-org-x-mod): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-10-13 11:48:04 +02:00
Efraim Flashner
f85dacd869
gnu: go-1.17: Don't build with gccgo.
* gnu/packages/golang.scm (go-1.17)[native-inputs]: When building on
architectures not supported by go-1.4 use go-1.16 in place of gccgo.
2021-10-12 20:55:23 +03:00
Mathieu Othacehe
a1eca979fb
Merge remote-tracking branch 'origin/master' into core-updates-frozen. 2021-10-12 17:46:23 +00:00
Adam Kandur
73e4462637
gnu: Add go-github-com-DHowett-go-plist.
* gnu/packages/golang.scm (go-github-com-DHowett-go-plist): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-09-24 14:11:11 +02:00
Marius Bakke
5c3cb22c9b
Merge branch 'master' into core-updates-frozen
Conflicts:
	gnu/packages/bioinformatics.scm
	gnu/packages/chez.scm
	gnu/packages/docbook.scm
	gnu/packages/ebook.scm
	gnu/packages/gnome.scm
	gnu/packages/linux.scm
	gnu/packages/networking.scm
	gnu/packages/python-web.scm
	gnu/packages/python-xyz.scm
	gnu/packages/tex.scm
	gnu/packages/version-control.scm
	gnu/packages/xml.scm
	guix/build-system/dune.scm
	guix/build-system/go.scm
	guix/build-system/linux-module.scm
	guix/packages.scm
2021-09-17 01:25:52 +02:00
Philip McGrath
912880c15e
gnu: Add go-github-com-google-gmail-oauth2-tools-go-sendgmail.
* gnu/packages/golang.scm
(go-github-com-google-gmail-oauth2-tools-go-sendgmail): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-14 11:50:59 +02:00
Philip McGrath
0b7a79ff7e
gnu: Add go-cloud-google-com-go-compute-metadata.
* gnu/packages/golang.scm (go-cloud-google-com-go-compute-metadata): New
variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-14 11:50:59 +02:00
Sarah Morgensen
63cc4dd579
gnu: go-github-com-urfave-cli-v2: Fix tests when building with Go 1.17.
* gnu/packages/patches/go-github-com-urfave-cli-v2-fix-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/golang.scm (go-github-com-urfave-cli-v2)[origin]: Apply it.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-09-09 21:34:50 -04:00
Sarah Morgensen
f161f111e0
gnu: go-github-com-urfave-cli: Fix tests when building with Go 1.17.
* gnu/packages/patches/go-github-com-urfave-cli-fix-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/golang.scm (go-github-com-urfave-cli)[origin]: Apply it.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-09-09 21:34:50 -04:00
Sarah Morgensen
4e1adbc3b0
gnu: go-github-com-sevlyar-go-daemon: Fix tests when building with Go 1.17.
* gnu/packages/golang.scm (go-github-com-sevlyar-go-daemon)[source]:
Add snippet to fix tests for go@1.17.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-09-09 21:34:50 -04:00
Sarah Morgensen
49c6145b97
gnu: go-github-com-keybase-go-ps: Fix tests when building with Go 1.17.
* gnu/packages/golang.scm (go-github-com-keybase-go-ps)[arguments]
<#:phases>{fix-tests}: Remove extraneous build line to appease go@1.17.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-09-09 21:34:41 -04:00
Leo Famulari
cf4ccde47d
gnu: go-1.17: Update to 1.17.1.
* gnu/packages/golang.scm (go-1.17): Update to 1.17.1.
2021-09-09 16:54:05 -04:00
Sarah Morgensen
d36c73b8a8
gnu: Add go-1.17.
* gnu/packages.golang.scm (go-1.17): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-09-09 16:38:23 -04:00
Sarah Morgensen
14d8413fc5
gnu: go-1.16: Update to 1.16.8.
* gnu/packages/golang.scm (go-1.16): Update to 1.16.8.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-09-09 16:27:42 -04:00
Ludovic Courtès
d9dfbf886d
Merge branch 'master' into core-updates-frozen 2021-09-07 14:19:08 +02:00
Sarah Morgensen
74bc8e59df
gnu: go-1.14: Fix test failure with GCC 9+.
With GCC 9+, go-1.14 fails a test when the gold linker is not
available (https://github.com/golang/go/issues/39157). Backport the fix
for that from https://github.com/golang/go/commit/4ec4a79.

This is a followup to the 'master -> core-updates-frozen' merge in
c4133c43c7cfe2476ebfae87f9e4d10d96de9bc7, which accidentally dropped this commit
(2818c66e93c4803de1d9fb8fbc11ccc9fa6a1859) due to the code in question being
moved to another part of the file on the master branch.

Reported on #guix by iskarian:
<https://logs.guix.gnu.org/guix/2021-08-14.log#214343>

* gnu/packages/golang.scm (go-1.14)[arguments]<#:phases>{prebuild}:
Fix test failure with GCC 9+.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-07-27 12:34:56 -04:00
Marius Bakke
c4133c43c7
Merge branch 'master' into core-updates-frozen
Conflicts:
	gnu/packages/algebra.scm
	gnu/packages/games.scm
	gnu/packages/golang.scm
	gnu/packages/kerberos.scm
	gnu/packages/mail.scm
	gnu/packages/python.scm
	gnu/packages/ruby.scm
	gnu/packages/scheme.scm
	gnu/packages/tex.scm
	gnu/packages/tls.scm
	gnu/packages/version-control.scm
2021-08-12 00:30:27 +02:00
Sarah Morgensen
2818c66e93
gnu: go-1.14: Fix test failure with GCC 9+.
With GCC 9+, go-1.14 fails a test when the gold linker is not
available (https://github.com/golang/go/issues/39157). Backport the fix
for that from https://github.com/golang/go/commit/4ec4a79.

* gnu/packages/golang.scm (go-1.14)[arguments]<#:phases>{prebuild}:
Fix test failure with GCC 9+.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-08-08 15:13:44 +03:00
Marius Bakke
d2e102d4e4
Merge branch 'master' into core-updates-frozen 2021-08-01 23:23:32 +02:00
Arun Isaac
5b6447fcce
gnu: Add go-github-com-klauspost-compress.
* gnu/packages/golang.scm (go-github-com-klauspost-compress): New variable.
2021-08-01 19:46:58 +05:30