mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-04-04 17:04:41 +00:00
rosenthal: tailscale: Update to 1.96.4.
* modules/rosenthal/packages/networking.scm (tailscale): Update to 1.96.4. [native-inputs]: Update vendored-go-dependencies. [inputs]: Add desktop-file-utils. [arguments]: Patch its references. Use go-1.26.
This commit is contained in:
parent
889a4a3683
commit
08c50357d9
@ -15,6 +15,7 @@
|
|||||||
;; Guix packages
|
;; Guix packages
|
||||||
#:use-module (gnu packages base)
|
#:use-module (gnu packages base)
|
||||||
#:use-module (gnu packages dns)
|
#:use-module (gnu packages dns)
|
||||||
|
#:use-module (gnu packages freedesktop)
|
||||||
#:use-module (gnu packages golang)
|
#:use-module (gnu packages golang)
|
||||||
#:use-module (gnu packages golang-build)
|
#:use-module (gnu packages golang-build)
|
||||||
#:use-module (gnu packages linux))
|
#:use-module (gnu packages linux))
|
||||||
@ -261,7 +262,7 @@ a SOCKS5 proxy.")
|
|||||||
(define-public tailscale
|
(define-public tailscale
|
||||||
(package
|
(package
|
||||||
(name "tailscale")
|
(name "tailscale")
|
||||||
(version "1.94.1")
|
(version "1.96.4")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
@ -270,7 +271,7 @@ a SOCKS5 proxy.")
|
|||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0n5k8adplcffjwlpiy35nrklc0sf9ms18zlilcis5g1s3kdh4klf"))
|
"0qqlj6cq43h0pr8jg9g956yz5xgg81959vq2kl7n9yqnixyh8w2n"))
|
||||||
(patches
|
(patches
|
||||||
(rosenthal-patches
|
(rosenthal-patches
|
||||||
"tailscale-set-guix-system-PATH-for-SSH.patch"))
|
"tailscale-set-guix-system-PATH-for-SSH.patch"))
|
||||||
@ -284,7 +285,7 @@ a SOCKS5 proxy.")
|
|||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:tests? (not (%current-target-system)) ;TODO: Run test suite.
|
#:tests? (not (%current-target-system)) ;TODO: Run test suite.
|
||||||
#:go go-1.25
|
#:go go-1.26
|
||||||
#:install-source? #f
|
#:install-source? #f
|
||||||
#:import-path "."
|
#:import-path "."
|
||||||
#:build-flags
|
#:build-flags
|
||||||
@ -311,6 +312,11 @@ a SOCKS5 proxy.")
|
|||||||
"vendor")))
|
"vendor")))
|
||||||
(replace 'install-license-files
|
(replace 'install-license-files
|
||||||
(assoc-ref gnu:%standard-phases 'install-license-files))
|
(assoc-ref gnu:%standard-phases 'install-license-files))
|
||||||
|
(add-after 'unpack 'patch-references
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "client/systray/startup-creator.go"
|
||||||
|
(("desktop-file-(install|edit)" all)
|
||||||
|
(search-input-file inputs (in-vicinity "bin" all))))))
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda* (#:key build-flags parallel-build? #:allow-other-keys)
|
(lambda* (#:key build-flags parallel-build? #:allow-other-keys)
|
||||||
(let* ((njobs (if parallel-build? (parallel-job-count) 1)))
|
(let* ((njobs (if parallel-build? (parallel-job-count) 1)))
|
||||||
@ -370,17 +376,24 @@ a SOCKS5 proxy.")
|
|||||||
(native-inputs
|
(native-inputs
|
||||||
(append
|
(append
|
||||||
(list (origin
|
(list (origin
|
||||||
(method (go-mod-vendor #:go go-1.25))
|
(method (go-mod-vendor #:go go-1.26))
|
||||||
(uri (package-source this-package))
|
(uri (package-source this-package))
|
||||||
(file-name "vendored-go-dependencies")
|
(file-name "vendored-go-dependencies")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"04zzwizns5a5wvwpa1a82jg0l641fnk3schffrpqi3qi84x17qsr"))))
|
"1kj1q82n62x5dx4s9ivnnqi5c711pwyfic0kaykdn2ky8c89c6xf"))))
|
||||||
(if (%current-target-system)
|
(if (%current-target-system)
|
||||||
(list this-package)
|
(list this-package)
|
||||||
'())))
|
'())))
|
||||||
(inputs
|
(inputs
|
||||||
(list findutils glibc iproute iptables-nft kmod openresolv procps))
|
(list desktop-file-utils
|
||||||
|
findutils
|
||||||
|
glibc
|
||||||
|
iproute
|
||||||
|
iptables-nft
|
||||||
|
kmod
|
||||||
|
openresolv
|
||||||
|
procps))
|
||||||
(home-page "https://tailscale.com/")
|
(home-page "https://tailscale.com/")
|
||||||
(synopsis "Mesh VPN service utilizing the WireGuard protocol and 2FA")
|
(synopsis "Mesh VPN service utilizing the WireGuard protocol and 2FA")
|
||||||
(description
|
(description
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user