bump netbird to 0.34.0

This commit is contained in:
Jean-François GUILLAUME 2024-12-04 11:37:25 +00:00
commit 9ae89afd5f

View file

@ -20,7 +20,7 @@
#:use-module (gnu packages xorg) #:use-module (gnu packages xorg)
) )
(define %netbird-version "0.32.0") (define %netbird-version "0.34.0")
(define-public netbird-cli (define-public netbird-cli
(package (package
@ -29,7 +29,7 @@
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/netbirdio/netbird/releases/download/v" version "/netbird_" version "_linux_amd64.tar.gz")) (uri (string-append "https://github.com/netbirdio/netbird/releases/download/v" version "/netbird_" version "_linux_amd64.tar.gz"))
(sha256 (base32 "1xqqbr35cwl6ip8lxlc3gxx61s4g2wmgw3qy97y3ibcimy7arcyc")))) (sha256 (base32 "0a74k1mrv2k52dranvvdsm65fgz635gp7i277y4h5jx59xrdsv3f"))))
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
`(#:install-plan `(("netbird" "/bin/")))) `(#:install-plan `(("netbird" "/bin/"))))
@ -41,57 +41,6 @@ Secure. NetBird enables secure remote access by applying granular access policie
(home-page "https://github.com/netbirdio/netbird") (home-page "https://github.com/netbirdio/netbird")
(license license:expat))) (license license:expat)))
(define-public go-netbird-cli
(package
(name "go-netbird-cli")
(version %netbird-version)
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/netbirdio/netbird")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (base32 "16nhzhz48gd40drm3g9db9fww076bk6cxv5lxlrynmnjdy3f339j"))))
(build-system go-build-system)
(native-inputs (list go-github-com-cenkalti-backoff-v4
go-github-com-ayufan-golang-kardianos-service
go-github-com-google-uuid
go-github-com-pion-ice-v3
go-github-com-pion-logging
go-github-com-pion-stun-v2
go-github-com-pion-transport-v3
go-github-com-sirupsen-logrus
go-golang-zx2c4-com-wireguard
go-github-com-google-gopacket
go-github-com-libp2p-go-netroute
go-github-com-mdlayher-socket
go-github-com-hashicorp-go-multierror
go-github-com-godbus-dbus-v5
go-github-com-vishvananda-netlink
go-gopkg-in-natefinch-lumberjack.v2
go-google-golang-org-protobuf
go-github-com-spf13-pflag
go-github-com-spf13-cobra
go-github-com-skratchdot-open-golang
go-golang-org-x-oauth2
go-github-com-miekg-dns
go-github-com-hashicorp-go-version
go-github-com-fsnotify-fsnotify
))
(arguments
`(#:import-path "github.com/netbirdio/netbird"
#:phases
(modify-phases %standard-phases
(replace 'build
(lambda _
(invoke "go" "build" "-C" "src/github.com/netbirdio/netbird/client")
)))))
(synopsis "")
(description "")
(home-page "")
(license #f)
))
(define-public netbird-ui (define-public netbird-ui
(package (package
(name "netbird-ui") (name "netbird-ui")
@ -99,7 +48,7 @@ Secure. NetBird enables secure remote access by applying granular access policie
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/netbirdio/netbird/releases/download/v" version "/netbird-ui-linux_" version "_linux_amd64.tar.gz")) (uri (string-append "https://github.com/netbirdio/netbird/releases/download/v" version "/netbird-ui-linux_" version "_linux_amd64.tar.gz"))
(sha256 (base32 "1z3ag84m3psj7g3gsvymp6wnb5k9sf68xqn7xz9vx775lc4vlh9r")))) (sha256 (base32 "0b0d1d83qxmg082s0lfzqrshx8z5nvmzkz0svpkgi6d63dr4sjli"))))
(build-system binary-build-system) (build-system binary-build-system)
(inputs (list libx11 libglvnd)) (inputs (list libx11 libglvnd))
(arguments (arguments
@ -112,27 +61,3 @@ Secure. NetBird enables secure remote access by applying granular access policie
(description "netbird client ui program. dirty version from github artifacts.") (description "netbird client ui program. dirty version from github artifacts.")
(home-page "https://github.com/netbirdio/netbird") (home-page "https://github.com/netbirdio/netbird")
(license license:expat))) (license license:expat)))
(define-public go-gopkg-in-natefinch-lumberjack.v2
(package
(name "go-gopkg-in-natefinch-lumberjack.v2")
(version "2.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/natefinch/lumberjack")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (base32 "1l3vlv72b7rfkpy1164kwd3qzrqmmjnb67akzxqp2mlvc66k6p3d"))))
(build-system go-build-system)
(arguments
(list
#:import-path "gopkg.in/natefinch/lumberjack.v2"))
(propagated-inputs
(list go-github-com-burntsushi-toml
go-gopkg-in-yaml-v2))
(home-page "https://github.com/natefinch/lumberjack")
(synopsis "Rolling logger for Go")
(description "Lumberjack is a Go package for writing logs to rolling files.")
(license license:expat)))