0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

boringtun: 0.5.2 -> 0.6.0 (#399087)

This commit is contained in:
Arne Keller 2025-04-19 23:14:24 +02:00 committed by GitHub
commit ad5abbcfad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,31 +6,31 @@
darwin,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "boringtun";
version = "0.5.2";
version = "0.6.0";
src = fetchFromGitHub {
owner = "cloudflare";
repo = "boringtun";
rev = "boringtun-cli-${version}";
sha256 = "sha256-PY7yqBNR4CYh8Y/vk4TYxxJnnv0eig8sjXp4dR4CX04=";
tag = "boringtun-${finalAttrs.version}";
hash = "sha256-QrgKO0SVU4Z9GlNtZZmOV+Xcm1PonzLbUTGAFFOV/BM=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-9qvX6P/DquQDlt6wOzI5ZQXQzNil1cD7KiuegDXtrQ0=";
cargoHash = "sha256-j1I16QC46MMxcK7rbZJgI8KiKJvF29hkuGKiYLc6uW0=";
buildInputs = lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Security;
# Testing this project requires sudo, Docker and network access, etc.
doCheck = false;
meta = with lib; {
meta = {
description = "Userspace WireGuard® implementation in Rust";
homepage = "https://github.com/cloudflare/boringtun";
license = licenses.bsd3;
maintainers = with maintainers; [ xrelkd ];
platforms = platforms.linux ++ platforms.darwin;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ xrelkd ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
mainProgram = "boringtun-cli";
};
}
})