diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-09-28 01:59:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-28 01:59:49 -0500 |
commit | 300fbd8022f9bad43785a67b6e13b3373ecb37c7 (patch) | |
tree | 360331e8a1c0caa00c61a5abd26e46a5ee796dac | |
parent | 6f42c338090af7ec69b74c042e7c67044831818d (diff) | |
parent | 2b5e13d3eaa4faa150804ed42b8e8da946ff73c9 (diff) | |
download | nixlib-300fbd8022f9bad43785a67b6e13b3373ecb37c7.tar nixlib-300fbd8022f9bad43785a67b6e13b3373ecb37c7.tar.gz nixlib-300fbd8022f9bad43785a67b6e13b3373ecb37c7.tar.bz2 nixlib-300fbd8022f9bad43785a67b6e13b3373ecb37c7.tar.lz nixlib-300fbd8022f9bad43785a67b6e13b3373ecb37c7.tar.xz nixlib-300fbd8022f9bad43785a67b6e13b3373ecb37c7.tar.zst nixlib-300fbd8022f9bad43785a67b6e13b3373ecb37c7.zip |
Merge pull request #69764 from marsam/update-boringtun
boringtun: 20190407 -> 0.2.0
-rw-r--r-- | pkgs/tools/networking/boringtun/default.nix | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/pkgs/tools/networking/boringtun/default.nix b/pkgs/tools/networking/boringtun/default.nix index 05e9ba1282eb..dfb13f2168b4 100644 --- a/pkgs/tools/networking/boringtun/default.nix +++ b/pkgs/tools/networking/boringtun/default.nix @@ -2,25 +2,17 @@ rustPlatform.buildRustPackage rec { pname = "boringtun"; - # "boringtun" is still undergoing review for security concerns. - # The GitHub page does not show any release yet, - # use 20190407 as version number to indicate that it is an unstable version. - version = "20190407"; + version = "0.2.0"; src = fetchFromGitHub { owner = "cloudflare"; repo = pname; - rev = "b040eb4fd1591b1d5ceb07c6cbb0856553f50adc"; - sha256 = "04i53dvxld2a0xzr0gfl895rcwfvisj1rfs7rl0444gml8s8xyb3"; + rev = "v${version}"; + sha256 = "1mijy51hd8c4as9g4ivpfxismc9m5m3nhibfvclh3wrlcmp1ha9c"; }; cargoSha256 = "1gvmshwg9b486933vfgkg2r8nn6w6dyz42hqjy74p785fcg0v5hs"; - # To prevent configuration phase error that is caused by - # lacking a new line in file ".cargo/config", - # we append a new line to the end of file. - preConfigure = "echo '' >> .cargo/config"; - buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security; # Testing this project requires sudo, Docker and network access, etc. @@ -30,7 +22,7 @@ rustPlatform.buildRustPackage rec { description = "Userspace WireGuard® implementation in Rust"; homepage = https://github.com/cloudflare/boringtun; license = licenses.bsd3; - maintainers = with maintainers; [ xrelkd ]; + maintainers = with maintainers; [ xrelkd marsam ]; platforms = platforms.linux ++ platforms.darwin; }; } |