Add jellyfin opensubtitles

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-07-16 16:11:26 +01:00
parent 03e53accae
commit 453cde2a4b
5 changed files with 47 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
{ pkgs, ... }:
# AUTO-UPDATE: nix-update --flake jellyfin-plugin-opensubtitles
pkgs.stdenv.mkDerivation rec {
pname = "opensubtitles";
version = "20";
src = pkgs.fetchzip {
url = "https://github.com/jellyfin/jellyfin-plugin-opensubtitles/releases/download/v${version}/open-subtitles_${version}.0.0.0.zip";
sha256 = "sha256-U17wQn32GB4nh05ExYJhzRw4nDvYOCB4EJtDoaaUnjI=";
stripRoot = false;
};
installPhase = ''
cp -r $src $out
'';
}