Skip to content

Commit

Permalink
wireguard: 0.0.20161230 -> 0.0.20170105
Browse files Browse the repository at this point in the history
Version bump that contains some new tools.

fixes #21666
  • Loading branch information
zx2c4 authored and Mic92 committed Jan 5, 2017
1 parent 52a7b65 commit 1ba9a3c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pkgs/os-specific/linux/wireguard/default.nix
@@ -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; {
Expand Down Expand Up @@ -46,6 +46,9 @@ let
buildInputs = [ libmnl ];

makeFlags = [
"WITH_BASHCOMPLETION=yes"
"WITH_WGQUICK=yes"
"WITH_SYSTEMDUNITS=yes"
"DESTDIR=$(out)"
"PREFIX=/"
"-C" "tools"
Expand Down

0 comments on commit 1ba9a3c

Please sign in to comment.