fix: filebot
This commit is contained in:
parent
5191597f63
commit
b02acb5b60
7 changed files with 79 additions and 150 deletions
15
utils/pkgs/filebot/default.nix
Normal file
15
utils/pkgs/filebot/default.nix
Normal 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=";
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue