gnu: Syncthing: Update to 1.23.0.

* gnu/packages/syncthing.scm (syncthing): Update to 1.23.0.
[arguments]: Build with Go 1.19.
This commit is contained in:
Leo Famulari 2023-01-18 11:26:18 -05:00
parent fda2d75d8d
commit a43f3e0697
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -47,7 +47,7 @@ (define-module (gnu packages syncthing)
(define-public syncthing (define-public syncthing
(package (package
(name "syncthing") (name "syncthing")
(version "1.20.4") (version "1.23.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/syncthing/syncthing" (uri (string-append "https://github.com/syncthing/syncthing"
@ -55,7 +55,7 @@ (define-public syncthing
"/syncthing-source-v" version ".tar.gz")) "/syncthing-source-v" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1falkf3lv6x9avbcinqzndzix7mzl255hds1pcrw3sipsy2vfly1")))) "0n7438vppr8yrq8k4lsacjr48m1l0bfc2wv7rbrsc5br5bfx6rhg"))))
(build-system go-build-system) (build-system go-build-system)
;; The primary Syncthing executable goes to "out", while the auxiliary ;; The primary Syncthing executable goes to "out", while the auxiliary
;; server programs and utility tools go to "utils". This reduces the size ;; 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 `(#:modules ((srfi srfi-26) ; for cut
(guix build utils) (guix build utils)
(guix build go-build-system)) (guix build go-build-system))
#:go ,go-1.19
#:import-path "github.com/syncthing/syncthing" #:import-path "github.com/syncthing/syncthing"
;; We don't need to install the source code for end-user applications. ;; We don't need to install the source code for end-user applications.
#:install-source? #f #:install-source? #f