mullvad-vpn: {add jackr airone01 sigmasquadron as maintainers, modernize}

This commit is contained in:
Jack Rosenberg
2026-05-02 12:30:44 +02:00
parent cf73106ed4
commit c6d0e1edfc
+16 -8
View File
@@ -79,8 +79,6 @@ let
systemd
];
version = "2026.1";
selectSystem =
attrs:
attrs.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
@@ -96,12 +94,15 @@ let
};
in
stdenv.mkDerivation {
stdenv.mkDerivation (finalAttrs: {
pname = "mullvad-vpn";
inherit version;
version = "2026.1";
__structuredAttrs = true;
strictDeps = true;
src = fetchurl {
url = "https://github.com/mullvad/mullvadvpn-app/releases/download/${version}/MullvadVPN-${version}_${platform}.deb";
url = "https://github.com/mullvad/mullvadvpn-app/releases/download/${finalAttrs.version}/MullvadVPN-${finalAttrs.version}_${platform}.deb";
inherit hash;
};
@@ -124,6 +125,10 @@ stdenv.mkDerivation {
wayland
];
postPatch = ''
patchShebangs opt/Mullvad\ VPN/mullvad-vpn
'';
installPhase = ''
runHook preInstall
@@ -166,13 +171,16 @@ stdenv.mkDerivation {
meta = {
homepage = "https://github.com/mullvad/mullvadvpn-app";
description = "Client for Mullvad VPN";
changelog = "https://github.com/mullvad/mullvadvpn-app/blob/${version}/CHANGELOG.md";
changelog = "https://github.com/mullvad/mullvadvpn-app/blob/${finalAttrs.version}/CHANGELOG.md";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = lib.licenses.gpl3Only;
mainProgram = "mullvad-vpn";
platforms = lib.platforms.unix;
badPlatforms = [ lib.systems.inspect.patterns.isDarwin ];
maintainers = [
maintainers = with lib.maintainers; [
jackr
airone01
sigmasquadron
];
};
}
})