From 2ed2b884c50f25bf757113c9630b12147d3f9b18 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sat, 17 Jun 2023 13:21:03 +0300 Subject: 2023-06-17 --- packages/mpv-autosub.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'packages') diff --git a/packages/mpv-autosub.nix b/packages/mpv-autosub.nix index b7804a1..daee8cc 100644 --- a/packages/mpv-autosub.nix +++ b/packages/mpv-autosub.nix @@ -5,7 +5,7 @@ }: stdenvNoCC.mkDerivation rec { pname = "mpv-autosub"; - version = "git"; + version = "unstable-2021-06-29"; src = fetchFromGitHub { owner = "davidde"; @@ -16,8 +16,10 @@ stdenvNoCC.mkDerivation rec { postPatch = '' substituteInPlace autosub.lua \ - --replace '/home/david/.local/bin/subliminal' \ - '${python3Packages.subliminal}/bin/subliminal' + --replace '/home/david/.local/bin/subliminal' '${python3Packages.subliminal}/bin/subliminal' \ + --replace "'Dutch', 'nl', 'dut'" "'Russian', 'ru', 'rus'" \ + --replace "'tta'" "'tta', 'webm'" \ + --replace "disabled for audio files" "disabled for this filetype" ''; installPhase = '' -- cgit 1.4.1