gnu: Syncthing: Update to 1.18.4.

* gnu/packages/syncthing.scm (syncthing): Update to 1.18.4.
[arguments]: Build with Go 1.17.
This commit is contained in:
Leo Famulari 2021-12-06 12:08:55 -05:00
parent 30c776a6a8
commit 4e282bc934
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -45,7 +45,7 @@ (define-module (gnu packages syncthing)
(define-public syncthing
(package
(name "syncthing")
(version "1.16.1")
(version "1.18.4")
; XXX After the go-build-system can use "Go modules", stop using bundled
; dependencies for Syncthing.
(source (origin
@ -55,7 +55,7 @@ (define-public syncthing
"/syncthing-source-v" version ".tar.gz"))
(sha256
(base32
"0m5k37sp3px8acs3y9an5wzy1wbcbdvqq74jy0pwzfk4bjbr999j"))))
"00kw1j2qi5ylbycv43n5177r3a3651qxhds927x6cz0a2b7qac8n"))))
(build-system go-build-system)
;; The primary Syncthing executable goes to "out", while the auxiliary
;; server programs and utility tools go to "utils". This reduces the size
@ -65,6 +65,7 @@ (define-public syncthing
`(#:modules ((srfi srfi-26) ; for cut
(guix build utils)
(guix build go-build-system))
#:go ,go-1.17
#:import-path "github.com/syncthing/syncthing"
;; We don't need to install the source code for end-user applications.
#:install-source? #f