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:
commit
ad5abbcfad
1 changed files with 10 additions and 10 deletions
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue