2018-05-19 11:01:59 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchzip }:
|
2018-05-19 09:15:26 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "wireguard-go-${version}";
|
2019-02-22 15:02:51 +00:00
|
|
|
version = "0.0.20181222";
|
2018-05-19 09:15:26 +01:00
|
|
|
|
2018-06-09 04:02:56 +01:00
|
|
|
goPackagePath = "git.zx2c4.com/wireguard-go";
|
2018-05-19 09:15:26 +01:00
|
|
|
|
2018-05-19 11:01:59 +01:00
|
|
|
src = fetchzip {
|
2018-05-19 09:15:26 +01:00
|
|
|
url = "https://git.zx2c4.com/wireguard-go/snapshot/wireguard-go-${version}.tar.xz";
|
2019-02-22 15:02:51 +00:00
|
|
|
sha256 = "00m1r97qrr4l21s5jk5m3xfpiybqbzgxp9failsy1nmx27wrdiky";
|
2018-05-19 09:15:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Userspace Go implementation of WireGuard";
|
|
|
|
homepage = https://git.zx2c4.com/wireguard-go/about/;
|
|
|
|
license = licenses.gpl2;
|
2019-02-22 15:02:51 +00:00
|
|
|
maintainers = with maintainers; [ elseym kirelagin yegortimoshenko zx2c4 ];
|
2018-05-22 01:52:47 +01:00
|
|
|
platforms = platforms.darwin;
|
2018-05-19 09:15:26 +01:00
|
|
|
};
|
|
|
|
}
|