File tree Expand file tree Collapse file tree 1 file changed +52
-35
lines changed
pkgs/applications/networking/mullvad-vpn Expand file tree Collapse file tree 1 file changed +52
-35
lines changed Original file line number Diff line number Diff line change 1- { stdenv
2- , lib
3- , fetchurl
4- , dpkg
5- , alsa-lib
6- , atk
7- , cairo
8- , cups
9- , dbus
10- , expat
11- , fontconfig
12- , freetype
13- , gdk-pixbuf
14- , glib
15- , pango
16- , nspr
17- , nss
18- , gtk3
19- , mesa
20- , libGL
21- , wayland
22- , xorg
23- , autoPatchelfHook
24- , systemd
25- , libnotify
26- , libappindicator
27- , makeWrapper
28- , coreutils
29- , gnugrep
1+ {
2+ stdenv ,
3+ lib ,
4+ fetchurl ,
5+ dpkg ,
6+ alsa-lib ,
7+ atk ,
8+ cairo ,
9+ cups ,
10+ dbus ,
11+ expat ,
12+ fontconfig ,
13+ freetype ,
14+ gdk-pixbuf ,
15+ glib ,
16+ pango ,
17+ nspr ,
18+ nss ,
19+ gtk3 ,
20+ mesa ,
21+ libGL ,
22+ wayland ,
23+ xorg ,
24+ autoPatchelfHook ,
25+ systemd ,
26+ libnotify ,
27+ libappindicator ,
28+ makeWrapper ,
29+ coreutils ,
30+ gnugrep ,
3031} :
3132
3233let
6667
6768 version = "2024.7" ;
6869
69- selectSystem = attrs : attrs . ${ stdenv . hostPlatform . system } or ( throw "Unsupported system: ${ stdenv . hostPlatform . system } " ) ;
70+ selectSystem =
71+ attrs :
72+ attrs . ${ stdenv . hostPlatform . system } or ( throw "Unsupported system: ${ stdenv . hostPlatform . system } " ) ;
7073
7174 platform = selectSystem {
7275 x86_64-linux = "amd64" ;
@@ -99,7 +102,13 @@ stdenv.mkDerivation {
99102 dontBuild = true ;
100103 dontConfigure = true ;
101104
102- runtimeDependencies = [ ( lib . getLib systemd ) libGL libnotify libappindicator wayland ] ;
105+ runtimeDependencies = [
106+ ( lib . getLib systemd )
107+ libGL
108+ libnotify
109+ libappindicator
110+ wayland
111+ ] ;
103112
104113 installPhase = ''
105114 runHook preInstall
@@ -115,7 +124,12 @@ stdenv.mkDerivation {
115124
116125 wrapProgram $out/bin/mullvad-vpn \
117126 --set MULLVAD_DISABLE_UPDATE_NOTIFICATION 1 \
118- --prefix PATH : ${ lib . makeBinPath [ coreutils gnugrep ] }
127+ --prefix PATH : ${
128+ lib . makeBinPath [
129+ coreutils
130+ gnugrep
131+ ]
132+ }
119133
120134 wrapProgram $out/bin/mullvad-daemon \
121135 --set-default MULLVAD_RESOURCE_DIR "$out/share/mullvad/resources"
@@ -136,9 +150,12 @@ stdenv.mkDerivation {
136150 changelog = "https://github.com/mullvad/mullvadvpn-app/blob/${ version } /CHANGELOG.md" ;
137151 sourceProvenance = with sourceTypes ; [ binaryNativeCode ] ;
138152 license = licenses . gpl3Only ;
139- platforms = platforms . unix ;
153+ platforms = platforms . unix ;
140154 badPlatforms = [ lib . systems . inspect . patterns . isDarwin ] ;
141- maintainers = with maintainers ; [ Br1ght0ne ymarkus ataraxiasjel ] ;
155+ maintainers = with maintainers ; [
156+ Br1ght0ne
157+ ymarkus
158+ ataraxiasjel
159+ ] ;
142160 } ;
143-
144161}
You can’t perform that action at this time.
0 commit comments