gnu: go: Update to 1.13.7.

* gnu/packages/golang.scm (go-1.12): Rename to go-1.13.
(go-1.13)[version, source]: Update to 1.13.7.
(go-1.13)[arguments]: Don't delete ../pkg/bootstrap, as the file is no longer
generated during build.
(go): Update to go-1.13.

Signed-off-by: Alex Griffin <a@ajgrf.com>
This commit is contained in:
Jack Hill 2020-02-11 16:36:49 -06:00 committed by Alex Griffin
parent 46c5c917ba
commit 48f57932a7
No known key found for this signature in database
GPG key ID: 6F5120A022FBB2D5

View file

@ -16,6 +16,7 @@
;;; Copyright @ 2019 Giovanni Biscuolo <g@xelera.eu>
;;; Copyright @ 2019 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
;;;
;;; This file is part of GNU Guix.
;;;
@ -216,11 +217,11 @@ (define-public go-1.4
(supported-systems '("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux"))
(license license:bsd-3)))
(define-public go-1.12
(define-public go-1.13
(package
(inherit go-1.4)
(name "go")
(version "1.12.16")
(version "1.13.7")
(source
(origin
(method url-fetch)
@ -228,7 +229,7 @@ (define-public go-1.12
name version ".src.tar.gz"))
(sha256
(base32
"1y0x10fsvgpc1x24b9q9y6kv9b0kwf7879am3p0gym2abgc5wvnf"))))
"1x21kfpzfkvmqd42pan6nl862m7jjl4niqxxpcgm46awbz645bg4"))))
(arguments
(substitute-keyword-arguments (package-arguments go-1.4)
((#:phases phases)
@ -367,7 +368,6 @@ (define-public go-1.12
(docs (string-append doc_out "/share/doc/" ,name "-" ,version))
(src (string-append
(assoc-ref outputs "tests") "/share/" ,name "-" ,version)))
(delete-file-recursively "../pkg/bootstrap")
;; Prevent installation of the build cache, which contains
;; store references to most of the tools used to build Go and
;; would unnecessarily increase the size of Go's closure if it
@ -405,7 +405,7 @@ (define-public go-1.12
,@(package-native-inputs go-1.4)))
(supported-systems %supported-systems)))
(define-public go go-1.12)
(define-public go go-1.13)
(define-public go-github-com-alsm-ioprogress
(let ((commit "063c3725f436e7fba0c8f588547bee21ffec7ac5")