wireguard-go: use fetchzip instead of fetchurl

This commit is contained in:
Kirill Elagin 2018-05-19 13:01:59 +03:00
parent 5f3480e04d
commit ab1dd9c585
No known key found for this signature in database
GPG Key ID: 11A364922849AD28

View File

@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchurl }:
{ stdenv, buildGoPackage, fetchzip }:
buildGoPackage rec {
name = "wireguard-go-${version}";
@ -6,9 +6,9 @@ buildGoPackage rec {
goPackagePath = "wireguard-go";
src = fetchurl {
src = fetchzip {
url = "https://git.zx2c4.com/wireguard-go/snapshot/wireguard-go-${version}.tar.xz";
sha256 = "1bn49a67m2ab0l9lq3zh2mfbbppmyg34klqi3069sjn6lg2hlajs";
sha256 = "1i1w4vj8w353b92nfhs92k0f7fifrwi067qfmgckdk0kk76nv2id";
};
goDeps = ./deps.nix;