wireguard: 0.0.20171111 -> 0.0.20171221
This commit is contained in:
parent
7b9c5b4849
commit
4ce44d6d4c
@ -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
|
# module requires Linux >= 3.10 https://www.wireguard.io/install/#kernel-requirements
|
||||||
assert kernel != null -> stdenv.lib.versionAtLeast kernel.version "3.10";
|
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
|
let
|
||||||
name = "wireguard-${version}";
|
name = "wireguard-${version}";
|
||||||
|
|
||||||
version = "0.0.20171111";
|
version = "0.0.20171221";
|
||||||
|
|
||||||
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 = "0mqix3v4qqwwa7hcd0h5rcwhc7yvm9jcl8b3v1vc4sj0m637fd6r";
|
sha256 = "1vf5dbwc2lgcf28k1m919w94hil2gcl0l4h4da1sh6r7kdz6k5rb";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
@ -37,6 +37,8 @@ let
|
|||||||
|
|
||||||
NIX_CFLAGS = ["-Wno-error=cpp"];
|
NIX_CFLAGS = ["-Wno-error=cpp"];
|
||||||
|
|
||||||
|
buildInputs = [ libelf ];
|
||||||
|
|
||||||
buildPhase = "make module";
|
buildPhase = "make module";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user