Add jellyfin opensubtitles
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
16
packages/jellyfin/plugins/opensubtitles/default.nix
Normal file
16
packages/jellyfin/plugins/opensubtitles/default.nix
Normal 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
|
||||
'';
|
||||
}
|
Reference in New Issue
Block a user