use fetchurl instead

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
This commit is contained in:
Guangqing Chen 2023-01-25 20:14:10 +08:00 committed by GitHub
parent 146f9c8de6
commit 0e31d244c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
pname = "globalprotect-openconnect";
version = "1.4.9";
src = builtins.fetchTarball {
src = fetchurl {
url = "https://github.com/yuezk/GlobalProtect-openconnect/releases/download/v${version}/globalprotect-openconnect-${version}.tar.gz";
sha256 = "0b7s3gf0gznlpmf9dxfq77254zlxmpajhzzn3scrdrvf413sjl0f";
};