nixpkgs/pkgs/tools/networking/wireguard-go/default.nix

24 lines
678 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchzip }:
2018-05-19 09:15:26 +01:00
buildGoPackage rec {
name = "wireguard-go-${version}";
version = "0.0.20181222";
2018-05-19 09:15:26 +01:00
goPackagePath = "git.zx2c4.com/wireguard-go";
2018-05-19 09:15:26 +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";
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;
maintainers = with maintainers; [ elseym kirelagin yegortimoshenko zx2c4 ];
platforms = platforms.darwin;
2018-05-19 09:15:26 +01:00
};
}