nixos/utils/pkgs/filebot/default.nix
2026-04-10 16:58:17 +02:00

15 lines
650 B
Nix

{ 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=";
};
})