boringtun: 0.5.2 -> 0.6.0 (#399087)

authored by Arne Keller and committed by GitHub ad5abbcf a74d7150

+10 -10
+10 -10
pkgs/by-name/bo/boringtun/package.nix
··· 6 6 darwin, 7 7 }: 8 8 9 - rustPlatform.buildRustPackage rec { 9 + rustPlatform.buildRustPackage (finalAttrs: { 10 10 pname = "boringtun"; 11 - version = "0.5.2"; 11 + version = "0.6.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "cloudflare"; 15 15 repo = "boringtun"; 16 - rev = "boringtun-cli-${version}"; 17 - sha256 = "sha256-PY7yqBNR4CYh8Y/vk4TYxxJnnv0eig8sjXp4dR4CX04="; 16 + tag = "boringtun-${finalAttrs.version}"; 17 + hash = "sha256-QrgKO0SVU4Z9GlNtZZmOV+Xcm1PonzLbUTGAFFOV/BM="; 18 18 }; 19 19 20 20 useFetchCargoVendor = true; 21 - cargoHash = "sha256-9qvX6P/DquQDlt6wOzI5ZQXQzNil1cD7KiuegDXtrQ0="; 21 + cargoHash = "sha256-j1I16QC46MMxcK7rbZJgI8KiKJvF29hkuGKiYLc6uW0="; 22 22 23 23 buildInputs = lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Security; 24 24 25 25 # Testing this project requires sudo, Docker and network access, etc. 26 26 doCheck = false; 27 27 28 - meta = with lib; { 28 + meta = { 29 29 description = "Userspace WireGuard® implementation in Rust"; 30 30 homepage = "https://github.com/cloudflare/boringtun"; 31 - license = licenses.bsd3; 32 - maintainers = with maintainers; [ xrelkd ]; 33 - platforms = platforms.linux ++ platforms.darwin; 31 + license = lib.licenses.bsd3; 32 + maintainers = with lib.maintainers; [ xrelkd ]; 33 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 34 34 mainProgram = "boringtun-cli"; 35 35 }; 36 - } 36 + })