wireguard: 0.0.20161230 -> 0.0.20170105

Version bump that contains some new tools.

fixes #21666
This commit is contained in:
Jason A. Donenfeld 2017-01-05 03:59:24 +01:00 committed by Jörg Thalheim
parent 52a7b6549f
commit 1ba9a3cd9b

View File

@ -1,16 +1,16 @@
{ stdenv, fetchurl, libmnl, kernel ? null }:
# module requires Linux >= 4.1 https://www.wireguard.io/install/#kernel-requirements
assert kernel != null -> stdenv.lib.versionAtLeast kernel.version "4.1";
# module requires Linux >= 3.18 https://www.wireguard.io/install/#kernel-requirements
assert kernel != null -> stdenv.lib.versionAtLeast kernel.version "3.18";
let
name = "wireguard-${version}";
version = "0.0.20161230";
version = "0.0.20170105";
src = fetchurl {
url = "https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${version}.tar.xz";
sha256 = "15p3k8msk3agr0i96k12y5h4fxv0gc8zqjk15mizd3wwmw6pgjb9";
sha256 = "15iqb1a85aygbf3myw6r79i5h3vpjam1rs6xrnf5kgvgmvp91n8v";
};
meta = with stdenv.lib; {
@ -46,6 +46,9 @@ let
buildInputs = [ libmnl ];
makeFlags = [
"WITH_BASHCOMPLETION=yes"
"WITH_WGQUICK=yes"
"WITH_SYSTEMDUNITS=yes"
"DESTDIR=$(out)"
"PREFIX=/"
"-C" "tools"