diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-06-17 13:21:03 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-06-17 13:21:03 +0300 |
commit | 2ed2b884c50f25bf757113c9630b12147d3f9b18 (patch) | |
tree | ec4cee94415390752857c3a5a3591c7e9f7be520 /packages | |
parent | 2023-06-10 (diff) |
2023-06-17
Diffstat (limited to 'packages')
-rw-r--r-- | packages/mpv-autosub.nix | 8 |
1 files changed, 5 insertions, 3 deletions
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 = '' |