nginxModules.vod: 1.33 -> 1.7.0; switch to fork

The kaltura upstream has not merged any PRs since 2024-05. In the
meantime a well-maintained upstream has picked up open PRs and made 12
releases since 2025-06.
This commit is contained in:
Martin Weinelt
2026-04-09 13:16:04 +02:00
parent 006d5b4148
commit 7afb723621
+10 -10
View File
@@ -998,35 +998,35 @@ let
};
};
vod = {
vod = rec {
name = "vod";
version = "1.7.0";
src = applyPatches {
name = "vod";
src = fetchFromGitHub {
owner = "kaltura";
owner = "dio-az";
repo = "nginx-vod-module";
tag = "1.33";
hash = "sha256-hf4iprkdNP7lVlrm/7kMkrp/8440PuTZiL1hv/Icfm4=";
tag = "v${version}";
hash = "sha256-IcXbbmAs16F9qOEJWgH6XqP5sBMYszclGByVghj0eBM=";
};
postPatch = ''
substituteInPlace vod/media_set.h \
--replace-fail "MAX_CLIPS (128)" "MAX_CLIPS (1024)"
substituteInPlace vod/subtitle/dfxp_format.c \
--replace-fail '(!ctxt->wellFormed && !ctxt->recovery))' '!ctxt->wellFormed)'
# https://github.com/kaltura/nginx-vod-module/pull/1593
substituteInPlace ngx_http_vod_module.c \
--replace-fail 'ngx_http_vod_exit_process()' 'ngx_http_vod_exit_process(ngx_cycle_t *cycle)'
'';
};
inputs = [
ffmpeg_6-headless
ffmpeg-headless
fdk_aac
openssl
libxml2
libiconv
];
passthru.tests = nixosTests.frigate;
meta = {
description = "VOD packager";
homepage = "https://github.com/kaltura/nginx-vod-module";