File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
pkgs/by-name/mu/mullvad-vpn Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 2828 makeWrapper ,
2929 coreutils ,
3030 gnugrep ,
31+
32+ versionCheckHook ,
3133} :
3234
3335let
@@ -142,17 +144,23 @@ stdenv.mkDerivation {
142144 runHook postInstall
143145 '' ;
144146
147+ nativeInstallCheckInputs = [
148+ versionCheckHook
149+ ] ;
150+ versionCheckProgramArg = [ "--version" ] ;
151+ doInstallCheck = true ;
152+
145153 passthru . updateScript = ./update.sh ;
146154
147- meta = with lib ; {
155+ meta = {
148156 homepage = "https://github.com/mullvad/mullvadvpn-app" ;
149157 description = "Client for Mullvad VPN" ;
150158 changelog = "https://github.com/mullvad/mullvadvpn-app/blob/${ version } /CHANGELOG.md" ;
151- sourceProvenance = with sourceTypes ; [ binaryNativeCode ] ;
152- license = licenses . gpl3Only ;
153- platforms = platforms . unix ;
159+ sourceProvenance = with lib . sourceTypes ; [ binaryNativeCode ] ;
160+ license = lib . licenses . gpl3Only ;
161+ platforms = lib . platforms . unix ;
154162 badPlatforms = [ lib . systems . inspect . patterns . isDarwin ] ;
155- maintainers = with maintainers ; [
163+ maintainers = with lib . maintainers ; [
156164 Br1ght0ne
157165 ymarkus
158166 ataraxiasjel
You can’t perform that action at this time.
0 commit comments