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

26 lines
708 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchzip }:
2018-05-19 09:15:26 +01:00
buildGoPackage rec {
pname = "wireguard-go";
version = "0.0.20190517";
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 = "0ir3dp13vkkqr76q0jvw610qw40053ngk51psqhqxfaw3jicdqgr";
2018-05-19 09:15:26 +01:00
};
goDeps = ./deps.nix;
2019-06-01 21:46:56 +01:00
passthru.updateScript = ./update.sh;
2018-05-19 09:15:26 +01:00
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
};
}