[Backport release-25.05] openvpn3: 24.1 -> 25; add passthru.updateScript (#427271)

This commit is contained in:
Wolfgang Walther
2025-08-13 20:35:10 +00:00
committed by GitHub

View File

@@ -22,19 +22,19 @@
gdbuspp,
cmake,
git,
nix-update-script,
enableSystemdResolved ? true,
}:
stdenv.mkDerivation rec {
pname = "openvpn3";
# also update openvpn3-core
version = "24.1";
version = "25";
src = fetchFromGitHub {
owner = "OpenVPN";
repo = "openvpn3-linux";
tag = "v${version}";
hash = "sha256-E6SBVPHmejXB18RuNCNq62yWOJslZfIjVbNUdRIk5Sw=";
hash = "sha256-Fme8OT49h2nZw5ypyeKdHlqv2Hk92LW2KVisd0jC66s=";
# `openvpn3-core` is a submodule.
# TODO: make it into a separate package
fetchSubmodules = true;
@@ -115,6 +115,8 @@ stdenv.mkDerivation rec {
NIX_LDFLAGS = "-lpthread";
passthru.updateScript = nix-update-script { };
meta = {
description = "OpenVPN 3 Linux client";
license = lib.licenses.agpl3Plus;