mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
wireguard-go: use fetchzip instead of fetchurl
This commit is contained in:
parent
5f3480e04d
commit
ab1dd9c585
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user