mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
[Backport release-25.05] openvpn3: 24.1 -> 25; add passthru.updateScript (#427271)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user