11 (ffmpeg_7-full.override {
12 inherit version; # Important! This sets the ABI.
13 source = fetchFromGitHub {
15 repo = "jellyfin-ffmpeg";
17 hash = "sha256-cqyXQNx65eLEumOoSCucNpAqShMhiPqzsKc/GjKKQOA=";
19 }).overrideAttrs (old: {
20 pname = "jellyfin-ffmpeg";
22 configureFlags = old.configureFlags ++ [
23 "--extra-version=Jellyfin"
24 "--disable-ptx-compression" # https://github.com/jellyfin/jellyfin/issues/7944#issuecomment-1156880067
28 for file in $(cat debian/patches/series); do
29 patch -p1 < debian/patches/$file
32 ${old.postPatch or ""}
36 inherit (old.meta) license mainProgram;
37 changelog = "https://github.com/jellyfin/jellyfin-ffmpeg/releases/tag/v${version}";
38 description = "${old.meta.description} (Jellyfin fork)";
39 homepage = "https://github.com/jellyfin/jellyfin-ffmpeg";
40 maintainers = with lib.maintainers; [ justinas ];
41 pkgConfigModules = [ "libavutil" ];