fix: filebot

This commit is contained in:
Dominik Polakovics Polakovics 2026-04-10 16:58:17 +02:00
parent 5191597f63
commit b02acb5b60
7 changed files with 79 additions and 150 deletions

View file

@ -0,0 +1,15 @@
{ fetchurl, filebot }:
# Override the nixpkgs filebot source URL.
#
# Upstream nixpkgs fetches from a single web.archive.org mirror which started
# returning HTTP 429, breaking builds. The same tarball is still hosted at
# get.filebot.net, so we swap the URL. The hash matches nixpkgs' pinned one
# because archive.org captured a byte-identical copy. Run ./update.sh to
# refresh if upstream re-uploads.
filebot.overrideAttrs (oldAttrs: {
src = fetchurl {
url = "https://get.filebot.net/filebot/FileBot_${oldAttrs.version}/FileBot_${oldAttrs.version}-portable.tar.xz";
hash = "sha256-OcXXKaZcBuP584SJWeQB+aaxO0kih6Oiud0Vm8e9kPo=";
};
})