summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOPNA2608 <opna2608@protonmail.com>2024-10-02 16:02:43 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-10-08 10:42:08 +0000
commit3196b4ae7bcfa59751e0e60d8afba4adbdb5d34d (patch)
treef1d8554b27edbad01229754e9ed54e0226b20894
parent[24.05] zoneminder: 1.36.33 -> 1.36.34 (#345053) (diff)
downloadnixpkgs-origin/backport-345932-to-release-24.05.tar.gz
katawa-shoujo: Fetch from archive.orgorigin/backport-345932-to-release-24.05
Download speed has been unbearable since the migration to fhs.sh and their CDN. Go via archive.org instead. Upstream CDN is 30 kB/s for me, 300 kB/s for someone else I asked. archive.org lets me pull at more than 300 kB/s, sometimes up to 1 or 2 MB/s. Not lightning-fast either, but better. (cherry picked from commit 6476f11bc66b29dbc1d26cce5158501c6966a5b7)
-rw-r--r--pkgs/games/katawa-shoujo/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/games/katawa-shoujo/default.nix b/pkgs/games/katawa-shoujo/default.nix
index 8e24966fc9ae..18aa00d0e16e 100644
--- a/pkgs/games/katawa-shoujo/default.nix
+++ b/pkgs/games/katawa-shoujo/default.nix
@@ -31,11 +31,13 @@ let
stdenv = stdenvNoCC;
srcDetails = rec {
x86_64-linux = {
+ archiveDate = "20240825224413";
urlSuffix = "%5blinux-x86%5d%5b18161880%5d.tar.bz2";
hash = "sha256-7FoFz88dWYHs2/pxkEwnmiFeeb3+slayrWknEJoAB9o=";
};
i686-linux = x86_64-linux;
x86_64-darwin = {
+ archiveDate = "20240825224411";
urlSuffix = "%5bmac%5d%5b1DFC84A6%5d.dmg";
hash = "sha256-Sc5BAlpJsffjcNrZ8+VU3n7G10DoqDKQn/leHDW32Y8=";
};
@@ -46,7 +48,7 @@ stdenv.mkDerivation rec {
version = "1.3.1";
src = fetchurl {
- url = "https://cdn.fhs.sh/ks/bin/gold_${version}/%5b4ls%5d_katawa_shoujo_${version}-${srcDetails.urlSuffix}";
+ url = "https://web.archive.org/web/${srcDetails.archiveDate}/https://cdn.fhs.sh/ks/bin/gold_${version}/%5b4ls%5d_katawa_shoujo_${version}-${srcDetails.urlSuffix}";
inherit (srcDetails) hash;
};