wireguard: 0.0.20161230 -> 0.0.20170105
Version bump that contains some new tools. fixes #21666
This commit is contained in:
parent
52a7b6549f
commit
1ba9a3cd9b
@ -1,16 +1,16 @@
|
|||||||
{ stdenv, fetchurl, libmnl, kernel ? null }:
|
{ stdenv, fetchurl, libmnl, kernel ? null }:
|
||||||
|
|
||||||
# module requires Linux >= 4.1 https://www.wireguard.io/install/#kernel-requirements
|
# module requires Linux >= 3.18 https://www.wireguard.io/install/#kernel-requirements
|
||||||
assert kernel != null -> stdenv.lib.versionAtLeast kernel.version "4.1";
|
assert kernel != null -> stdenv.lib.versionAtLeast kernel.version "3.18";
|
||||||
|
|
||||||
let
|
let
|
||||||
name = "wireguard-${version}";
|
name = "wireguard-${version}";
|
||||||
|
|
||||||
version = "0.0.20161230";
|
version = "0.0.20170105";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${version}.tar.xz";
|
url = "https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${version}.tar.xz";
|
||||||
sha256 = "15p3k8msk3agr0i96k12y5h4fxv0gc8zqjk15mizd3wwmw6pgjb9";
|
sha256 = "15iqb1a85aygbf3myw6r79i5h3vpjam1rs6xrnf5kgvgmvp91n8v";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
@ -46,6 +46,9 @@ let
|
|||||||
buildInputs = [ libmnl ];
|
buildInputs = [ libmnl ];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
|
"WITH_BASHCOMPLETION=yes"
|
||||||
|
"WITH_WGQUICK=yes"
|
||||||
|
"WITH_SYSTEMDUNITS=yes"
|
||||||
"DESTDIR=$(out)"
|
"DESTDIR=$(out)"
|
||||||
"PREFIX=/"
|
"PREFIX=/"
|
||||||
"-C" "tools"
|
"-C" "tools"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user