cloudflare-warp: 2023.3.398 -> 2023.3.470

Update Warp client version and fix 404 error when trying to fetch DEB package by pointing it to the APT repository instead
This commit is contained in:
Andrei Hava 2023-06-24 18:14:32 +03:00
parent 3c9a272a96
commit d7de5f2580
No known key found for this signature in database
GPG Key ID: 05FF2DB91F694DEC

View File

@ -12,11 +12,11 @@
stdenv.mkDerivation rec {
pname = "cloudflare-warp";
version = "2023.3.398";
version = "2023.3.470";
src = fetchurl {
url = "https://pkg.cloudflareclient.com/uploads/cloudflare_warp_2023_3_398_1_amd64_002e48d521.deb";
hash = "sha256-1var+/G3WwICRLXsMHke277tmPYRPFW8Yf9b1Ex9OmU=";
url = "https://pkg.cloudflareclient.com/pool/jammy/main/c/cloudflare-warp/cloudflare-warp_2023.3.470-1_amd64.deb";
hash = "sha256-AYnmisEQKFiEB2iRJifEqRbdzAyBcfrU0ITeUokKLag=";
};
nativeBuildInputs = [
@ -44,10 +44,6 @@ stdenv.mkDerivation rec {
})
];
unpackPhase = ''
dpkg-deb -x ${src} ./
'';
installPhase = ''
runHook preInstall
@ -72,7 +68,10 @@ stdenv.mkDerivation rec {
homepage = "https://pkg.cloudflareclient.com/packages/cloudflare-warp";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
maintainers = with maintainers; [ wolfangaukang ];
maintainers = with maintainers; [
wolfangaukang
devpikachu
];
platforms = [ "x86_64-linux" ];
};
}