diff options
Diffstat (limited to 'pkgs/applications/video/filebot/default.nix')
-rw-r--r-- | pkgs/applications/video/filebot/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/applications/video/filebot/default.nix b/pkgs/applications/video/filebot/default.nix index 09f99f400aa..ad7b12bfa33 100644 --- a/pkgs/applications/video/filebot/default.nix +++ b/pkgs/applications/video/filebot/default.nix @@ -1,5 +1,6 @@ { lib, stdenv, fetchurl, coreutils, openjdk17, makeWrapper, autoPatchelfHook , zlib, libzen, libmediainfo, curlWithGnuTls, libmms, glib +, genericUpdater, writeShellScript }: let @@ -43,6 +44,13 @@ in stdenv.mkDerivation rec { ln -s $out/opt/filebot.sh $out/bin/filebot ''; + passthru.updateScript = genericUpdater { + versionLister = writeShellScript "filebot-versionLister" '' + curl -s https://www.filebot.net \ + | sed -rne 's,^.*FileBot_([0-9]*\.[0-9]+\.[0-9]+)-portable.tar.xz.*,\1,p' + ''; + }; + meta = with lib; { description = "The ultimate TV and Movie Renamer"; longDescription = '' |