wireguard: 0.0.20171111 -> 0.0.20171221

This commit is contained in:
Franz Pletz 2017-12-29 11:34:41 +01:00
parent 7b9c5b4849
commit 4ce44d6d4c
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libmnl, kernel ? null }:
{ stdenv, fetchurl, libmnl, libelf, kernel ? null }:
# module requires Linux >= 3.10 https://www.wireguard.io/install/#kernel-requirements
assert kernel != null -> stdenv.lib.versionAtLeast kernel.version "3.10";
@ -6,11 +6,11 @@ assert kernel != null -> stdenv.lib.versionAtLeast kernel.version "3.10";
let
name = "wireguard-${version}";
version = "0.0.20171111";
version = "0.0.20171221";
src = fetchurl {
url = "https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${version}.tar.xz";
sha256 = "0mqix3v4qqwwa7hcd0h5rcwhc7yvm9jcl8b3v1vc4sj0m637fd6r";
sha256 = "1vf5dbwc2lgcf28k1m919w94hil2gcl0l4h4da1sh6r7kdz6k5rb";
};
meta = with stdenv.lib; {
@ -37,6 +37,8 @@ let
NIX_CFLAGS = ["-Wno-error=cpp"];
buildInputs = [ libelf ];
buildPhase = "make module";
};