mullvad: 2023.6 -> 2024.1

authored by Reed Riley and committed by helbling.dev 2d295d75 5fc51da8

+199 -34
+195 -24
pkgs/applications/networking/mullvad/Cargo.lock
··· 96 96 97 97 [[package]] 98 98 name = "anstream" 99 - version = "0.5.0" 99 + version = "0.6.11" 100 100 source = "registry+https://github.com/rust-lang/crates.io-index" 101 - checksum = "b1f58811cfac344940f1a400b6e6231ce35171f614f26439e80f8c1465c5cc0c" 101 + checksum = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5" 102 102 dependencies = [ 103 103 "anstyle", 104 104 "anstyle-parse", ··· 134 134 135 135 [[package]] 136 136 name = "anstyle-wincon" 137 - version = "2.1.0" 137 + version = "3.0.2" 138 138 source = "registry+https://github.com/rust-lang/crates.io-index" 139 - checksum = "58f54d10c6dfa51283a066ceab3ec1ab78d13fae00aa49243a45e4571fb79dfd" 139 + checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" 140 140 dependencies = [ 141 141 "anstyle", 142 - "windows-sys 0.48.0", 142 + "windows-sys 0.52.0", 143 143 ] 144 144 145 145 [[package]] ··· 165 165 version = "0.7.4" 166 166 source = "registry+https://github.com/rust-lang/crates.io-index" 167 167 checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" 168 + 169 + [[package]] 170 + name = "async-recursion" 171 + version = "1.1.0" 172 + source = "registry+https://github.com/rust-lang/crates.io-index" 173 + checksum = "30c5ef0ede93efbf733c1a727f3b6b5a1060bbedd5600183e66f6e4be4af0ec5" 174 + dependencies = [ 175 + "proc-macro2", 176 + "quote", 177 + "syn 2.0.31", 178 + ] 168 179 169 180 [[package]] 170 181 name = "async-stream" ··· 437 448 438 449 [[package]] 439 450 name = "clap" 440 - version = "4.4.2" 451 + version = "4.4.18" 441 452 source = "registry+https://github.com/rust-lang/crates.io-index" 442 - checksum = "6a13b88d2c62ff462f88e4a121f17a82c1af05693a2f192b5c38d14de73c19f6" 453 + checksum = "1e578d6ec4194633722ccf9544794b71b1385c3c027efe0c55db226fc880865c" 443 454 dependencies = [ 444 455 "clap_builder", 445 456 "clap_derive", ··· 447 458 448 459 [[package]] 449 460 name = "clap_builder" 450 - version = "4.4.2" 461 + version = "4.4.18" 451 462 source = "registry+https://github.com/rust-lang/crates.io-index" 452 - checksum = "2bb9faaa7c2ef94b2743a21f5a29e6f0010dff4caa69ac8e9d6cf8b6fa74da08" 463 + checksum = "4df4df40ec50c46000231c914968278b1eb05098cf8f1b3a518a95030e71d1c7" 453 464 dependencies = [ 454 465 "anstream", 455 466 "anstyle", ··· 459 470 460 471 [[package]] 461 472 name = "clap_complete" 462 - version = "4.4.1" 473 + version = "4.4.8" 463 474 source = "registry+https://github.com/rust-lang/crates.io-index" 464 - checksum = "4110a1e6af615a9e6d0a36f805d5c99099f8bab9b8042f5bc1fa220a4a89e36f" 475 + checksum = "eaf7dcb7c21d8ca1a2482ee0f1d341f437c9a7af6ca6da359dc5e1b164e98215" 465 476 dependencies = [ 466 477 "clap", 467 478 ] 468 479 469 480 [[package]] 470 481 name = "clap_derive" 471 - version = "4.4.2" 482 + version = "4.4.7" 472 483 source = "registry+https://github.com/rust-lang/crates.io-index" 473 - checksum = "0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873" 484 + checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" 474 485 dependencies = [ 475 486 "heck", 476 487 "proc-macro2", ··· 480 491 481 492 [[package]] 482 493 name = "clap_lex" 483 - version = "0.5.1" 494 + version = "0.6.0" 484 495 source = "registry+https://github.com/rust-lang/crates.io-index" 485 - checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961" 496 + checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" 486 497 487 498 [[package]] 488 499 name = "classic-mceliece-rust" ··· 1166 1177 1167 1178 [[package]] 1168 1179 name = "h2" 1169 - version = "0.3.21" 1180 + version = "0.3.24" 1170 1181 source = "registry+https://github.com/rust-lang/crates.io-index" 1171 - checksum = "91fc23aa11be92976ef4729127f1a74adf36d8436f7816b185d18df956790833" 1182 + checksum = "bb2c4422095b67ee78da96fbb51a4cc413b3b25883c7717ff7ca1ab31022c9c9" 1172 1183 dependencies = [ 1173 1184 "bytes", 1174 1185 "fnv", ··· 1176 1187 "futures-sink", 1177 1188 "futures-util", 1178 1189 "http", 1179 - "indexmap 1.9.3", 1190 + "indexmap 2.0.0", 1180 1191 "slab", 1181 1192 "tokio", 1182 1193 "tokio-util", ··· 1214 1225 checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 1215 1226 1216 1227 [[package]] 1228 + name = "hickory-proto" 1229 + version = "0.24.0" 1230 + source = "git+https://github.com/hickory-dns/hickory-dns?rev=9e8f8c67fbcb6d2985503027362a3fb022529802#9e8f8c67fbcb6d2985503027362a3fb022529802" 1231 + dependencies = [ 1232 + "async-recursion", 1233 + "async-trait", 1234 + "cfg-if", 1235 + "data-encoding", 1236 + "enum-as-inner", 1237 + "futures-channel", 1238 + "futures-io", 1239 + "futures-util", 1240 + "idna 0.5.0", 1241 + "ipnet", 1242 + "once_cell", 1243 + "rand 0.8.5", 1244 + "serde", 1245 + "thiserror", 1246 + "tinyvec", 1247 + "tokio", 1248 + "tracing", 1249 + "url", 1250 + ] 1251 + 1252 + [[package]] 1253 + name = "hickory-resolver" 1254 + version = "0.24.0" 1255 + source = "git+https://github.com/hickory-dns/hickory-dns?rev=9e8f8c67fbcb6d2985503027362a3fb022529802#9e8f8c67fbcb6d2985503027362a3fb022529802" 1256 + dependencies = [ 1257 + "cfg-if", 1258 + "futures-util", 1259 + "hickory-proto", 1260 + "ipconfig", 1261 + "lru-cache", 1262 + "once_cell", 1263 + "parking_lot", 1264 + "rand 0.8.5", 1265 + "resolv-conf", 1266 + "serde", 1267 + "smallvec", 1268 + "thiserror", 1269 + "tokio", 1270 + "tracing", 1271 + ] 1272 + 1273 + [[package]] 1274 + name = "hickory-server" 1275 + version = "0.24.0" 1276 + source = "git+https://github.com/hickory-dns/hickory-dns?rev=9e8f8c67fbcb6d2985503027362a3fb022529802#9e8f8c67fbcb6d2985503027362a3fb022529802" 1277 + dependencies = [ 1278 + "async-trait", 1279 + "bytes", 1280 + "cfg-if", 1281 + "enum-as-inner", 1282 + "futures-util", 1283 + "hickory-proto", 1284 + "hickory-resolver", 1285 + "ipnet", 1286 + "prefix-trie", 1287 + "serde", 1288 + "thiserror", 1289 + "time", 1290 + "tokio", 1291 + "tokio-util", 1292 + "tracing", 1293 + ] 1294 + 1295 + [[package]] 1217 1296 name = "hkdf" 1218 1297 version = "0.12.3" 1219 1298 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1380 1459 ] 1381 1460 1382 1461 [[package]] 1462 + name = "idna" 1463 + version = "0.5.0" 1464 + source = "registry+https://github.com/rust-lang/crates.io-index" 1465 + checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" 1466 + dependencies = [ 1467 + "unicode-bidi", 1468 + "unicode-normalization", 1469 + ] 1470 + 1471 + [[package]] 1383 1472 name = "indexmap" 1384 1473 version = "1.9.3" 1385 1474 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1470 1559 version = "2.8.0" 1471 1560 source = "registry+https://github.com/rust-lang/crates.io-index" 1472 1561 checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" 1562 + dependencies = [ 1563 + "serde", 1564 + ] 1473 1565 1474 1566 [[package]] 1475 1567 name = "ipnetwork" ··· 1817 1909 "chrono", 1818 1910 "clap", 1819 1911 "clap_complete", 1820 - "env_logger 0.10.0", 1912 + "err-derive", 1821 1913 "futures", 1822 1914 "itertools", 1823 1915 "mullvad-management-interface", ··· 2574 2666 ] 2575 2667 2576 2668 [[package]] 2669 + name = "prefix-trie" 2670 + version = "0.2.5" 2671 + source = "registry+https://github.com/rust-lang/crates.io-index" 2672 + checksum = "85fe48f29e6e6fcf123d0d03d63028dbe4c4a738023d35d525df4882f4929418" 2673 + dependencies = [ 2674 + "ipnet", 2675 + "num-traits", 2676 + ] 2677 + 2678 + [[package]] 2577 2679 name = "prettyplease" 2578 2680 version = "0.2.15" 2579 2681 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3197 3299 "cfg-if", 3198 3300 "futures", 3199 3301 "hyper", 3200 - "idna", 3302 + "idna 0.4.0", 3201 3303 "ipnet", 3202 3304 "iprange", 3203 3305 "json5", ··· 3433 3535 "duct", 3434 3536 "err-derive", 3435 3537 "futures", 3538 + "hickory-proto", 3539 + "hickory-server", 3436 3540 "inotify 0.10.2", 3437 3541 "ipnetwork", 3438 3542 "jnix", ··· 3618 3722 "err-derive", 3619 3723 "ipnetwork", 3620 3724 "jnix", 3725 + "log", 3621 3726 "serde", 3622 3727 "x25519-dalek", 3623 3728 "zeroize", ··· 3839 3944 3840 3945 [[package]] 3841 3946 name = "tokio-util" 3842 - version = "0.7.8" 3947 + version = "0.7.10" 3843 3948 source = "registry+https://github.com/rust-lang/crates.io-index" 3844 - checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" 3949 + checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" 3845 3950 dependencies = [ 3846 3951 "bytes", 3847 3952 "futures-core", ··· 4030 4135 "futures-channel", 4031 4136 "futures-io", 4032 4137 "futures-util", 4033 - "idna", 4138 + "idna 0.4.0", 4034 4139 "ipnet", 4035 4140 "once_cell", 4036 4141 "rand 0.8.5", ··· 4201 4306 checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" 4202 4307 dependencies = [ 4203 4308 "form_urlencoded", 4204 - "idna", 4309 + "idna 0.4.0", 4205 4310 "percent-encoding", 4206 4311 "serde", 4207 4312 ] ··· 4411 4516 ] 4412 4517 4413 4518 [[package]] 4519 + name = "windows-sys" 4520 + version = "0.52.0" 4521 + source = "registry+https://github.com/rust-lang/crates.io-index" 4522 + checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 4523 + dependencies = [ 4524 + "windows-targets 0.52.0", 4525 + ] 4526 + 4527 + [[package]] 4414 4528 name = "windows-targets" 4415 4529 version = "0.42.2" 4416 4530 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4441 4555 ] 4442 4556 4443 4557 [[package]] 4558 + name = "windows-targets" 4559 + version = "0.52.0" 4560 + source = "registry+https://github.com/rust-lang/crates.io-index" 4561 + checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" 4562 + dependencies = [ 4563 + "windows_aarch64_gnullvm 0.52.0", 4564 + "windows_aarch64_msvc 0.52.0", 4565 + "windows_i686_gnu 0.52.0", 4566 + "windows_i686_msvc 0.52.0", 4567 + "windows_x86_64_gnu 0.52.0", 4568 + "windows_x86_64_gnullvm 0.52.0", 4569 + "windows_x86_64_msvc 0.52.0", 4570 + ] 4571 + 4572 + [[package]] 4444 4573 name = "windows_aarch64_gnullvm" 4445 4574 version = "0.42.2" 4446 4575 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4453 4582 checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 4454 4583 4455 4584 [[package]] 4585 + name = "windows_aarch64_gnullvm" 4586 + version = "0.52.0" 4587 + source = "registry+https://github.com/rust-lang/crates.io-index" 4588 + checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" 4589 + 4590 + [[package]] 4456 4591 name = "windows_aarch64_msvc" 4457 4592 version = "0.42.2" 4458 4593 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4465 4600 checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 4466 4601 4467 4602 [[package]] 4603 + name = "windows_aarch64_msvc" 4604 + version = "0.52.0" 4605 + source = "registry+https://github.com/rust-lang/crates.io-index" 4606 + checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" 4607 + 4608 + [[package]] 4468 4609 name = "windows_i686_gnu" 4469 4610 version = "0.42.2" 4470 4611 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4477 4618 checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 4478 4619 4479 4620 [[package]] 4621 + name = "windows_i686_gnu" 4622 + version = "0.52.0" 4623 + source = "registry+https://github.com/rust-lang/crates.io-index" 4624 + checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" 4625 + 4626 + [[package]] 4480 4627 name = "windows_i686_msvc" 4481 4628 version = "0.42.2" 4482 4629 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4489 4636 checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 4490 4637 4491 4638 [[package]] 4639 + name = "windows_i686_msvc" 4640 + version = "0.52.0" 4641 + source = "registry+https://github.com/rust-lang/crates.io-index" 4642 + checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" 4643 + 4644 + [[package]] 4492 4645 name = "windows_x86_64_gnu" 4493 4646 version = "0.42.2" 4494 4647 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4501 4654 checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 4502 4655 4503 4656 [[package]] 4657 + name = "windows_x86_64_gnu" 4658 + version = "0.52.0" 4659 + source = "registry+https://github.com/rust-lang/crates.io-index" 4660 + checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" 4661 + 4662 + [[package]] 4504 4663 name = "windows_x86_64_gnullvm" 4505 4664 version = "0.42.2" 4506 4665 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 4511 4670 version = "0.48.5" 4512 4671 source = "registry+https://github.com/rust-lang/crates.io-index" 4513 4672 checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 4673 + 4674 + [[package]] 4675 + name = "windows_x86_64_gnullvm" 4676 + version = "0.52.0" 4677 + source = "registry+https://github.com/rust-lang/crates.io-index" 4678 + checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" 4514 4679 4515 4680 [[package]] 4516 4681 name = "windows_x86_64_msvc" ··· 4523 4688 version = "0.48.5" 4524 4689 source = "registry+https://github.com/rust-lang/crates.io-index" 4525 4690 checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 4691 + 4692 + [[package]] 4693 + name = "windows_x86_64_msvc" 4694 + version = "0.52.0" 4695 + source = "registry+https://github.com/rust-lang/crates.io-index" 4696 + checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" 4526 4697 4527 4698 [[package]] 4528 4699 name = "winnow"
+1 -8
pkgs/applications/networking/mullvad/libwg.nix
··· 13 13 14 14 sourceRoot = "${mullvad.src.name}/wireguard/libwg"; 15 15 16 - vendorHash = "sha256-MQ5tVbcwMee6lmPyKSsNBh9jrz4zwx7INf1Cb0GxjHo="; 16 + vendorHash = "sha256-2hb6+OHifm/oAgXCiYf+nwtNDDZNWR6lAbLSGT3AG0I="; 17 17 18 18 # XXX: hack to make the ar archive go to the correct place 19 19 # This is necessary because passing `-o ...` to `ldflags` does not work ··· 23 23 ldflags = [ "-s" "-w" "-buildmode=c-archive" ]; 24 24 25 25 patches = [ 26 - # build broken without wintun reference 27 - # https://github.com/mullvad/mullvadvpn-app/pull/5621 28 - (fetchpatch { 29 - url = "https://github.com/mullvad/mullvadvpn-app/commit/5dff68ac9c8ec26f1a39a7f44e3b684bb0833bf1.patch"; 30 - hash = "sha256-bUcDVmrrDblK7OJvHqf627vzVwmmvO2EL+sioAnZGbk="; 31 - relative = "wireguard/libwg"; 32 - }) 33 26 ]; 34 27 35 28 postInstall = ''
+3 -2
pkgs/applications/networking/mullvad/mullvad.nix
··· 17 17 }: 18 18 rustPlatform.buildRustPackage rec { 19 19 pname = "mullvad"; 20 - version = "2023.6"; 20 + version = "2024.1"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "mullvad"; 24 24 repo = "mullvadvpn-app"; 25 25 rev = version; 26 - hash = "sha256-O4YnHwG5GUDR7MzGsuLnElcczEct+P+4/Vn/eAoo6/s="; 26 + hash = "sha256-syIBYZe+e6i5A6Te51eNKcwwycnRhO1o2tP+z81NYXQ="; 27 27 }; 28 28 29 29 cargoLock = { ··· 31 31 outputHashes = { 32 32 "nix-0.26.1" = "sha256-b5bLeZVNbJE7aBnyzl0qvo0mXFeXa4hAZiuT1VJiFLk="; 33 33 "udp-over-tcp-0.3.0" = "sha256-5PeaM7/zhux1UdlaKpnQ2yIdmFy1n2weV/ux9lSRha4="; 34 + "hickory-proto-0.24.0" = "sha256-IqGVoQ1vRruCcaDr82ARkvSo42Pe9Q6iJIWnSd6GqEg="; 34 35 }; 35 36 }; 36 37