diff options
author | Cole Helbling <cole.e.helbling@outlook.com> | 2023-02-25 13:55:19 -0800 |
---|---|---|
committer | Cole Helbling <cole.e.helbling@outlook.com> | 2023-03-02 13:13:55 -0800 |
commit | a0d3f55f3d7e4c973f762ce9d0ec9f19f459489b (patch) | |
tree | a45461c7e1fa1759ee667bb40dcbd704b47a8eb0 /pkgs/applications/networking/mullvad | |
parent | ce546c73c3afaca21ebb6518162c7f418e275f82 (diff) |
mullvad: 2022.5 -> 2023.1
https://github.com/mullvad/mullvadvpn-app/releases/tag/2023.1
Diffstat (limited to 'pkgs/applications/networking/mullvad')
-rw-r--r-- | pkgs/applications/networking/mullvad/mullvad.nix | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/pkgs/applications/networking/mullvad/mullvad.nix b/pkgs/applications/networking/mullvad/mullvad.nix index a9289e0a8a555..e65de1334df28 100644 --- a/pkgs/applications/networking/mullvad/mullvad.nix +++ b/pkgs/applications/networking/mullvad/mullvad.nix @@ -3,6 +3,7 @@ , writeText , rustPlatform , fetchFromGitHub +, fetchpatch , pkg-config , protobuf , makeWrapper @@ -16,16 +17,26 @@ }: rustPlatform.buildRustPackage rec { pname = "mullvad"; - version = "2022.5"; + version = "2023.1"; src = fetchFromGitHub { owner = "mullvad"; repo = "mullvadvpn-app"; rev = version; - hash = "sha256-LiaELeEBIn/GZibKf25W3DHe+IkpaTY8UC7ca/7lp8k="; + hash = "sha256-BoduliiDOpzEPYHAjr636e7DbrhFnC/v9au6Mp9T/Qs="; }; - cargoHash = "sha256-KpBhdZce8Ug3ws7f1qg+5LtOMQw2Mf/uJsBg/TZSYyk="; + cargoHash = "sha256-5kK2IA0Z1dQbHlnGXNZHD+BycurshfpqrwcIEveWKT0="; + + patches = [ + # https://github.com/mullvad/mullvadvpn-app/pull/4389 + # can be removed after next release + (fetchpatch { + name = "mullvad-version-dont-check-git.patch"; + url = "https://github.com/mullvad/mullvadvpn-app/commit/8062cc74fc94bbe073189e78328901606c859d41.patch"; + hash = "sha256-1BhCId0J1dxhPM3oOmhZB+07N+k1GlvAT1h6ayfx174="; + }) + ]; nativeBuildInputs = [ pkg-config @@ -51,7 +62,7 @@ rustPlatform.buildRustPackage rec { # Place all binaries in the 'mullvad-' namespace, even though these # specific binaries aren't used in the lifetime of the program. '' - for bin in relay_list translations-converter; do + for bin in relay_list translations-converter tunnel-obfuscation; do mv "$out/bin/$bin" "$out/bin/mullvad-$bin" done '' + |