2022-04-15 01:41:22 +00:00
|
|
|
{ ffmpeg_4, ffmpeg-full, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
(ffmpeg-full.override { ffmpeg = ffmpeg_4; }).overrideAttrs (old: rec {
|
2022-04-27 09:35:20 +00:00
|
|
|
pname = "jellyfin-ffmpeg";
|
2022-04-15 01:41:22 +00:00
|
|
|
version = "4.4.1-4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jellyfin";
|
|
|
|
repo = "jellyfin-ffmpeg";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0y7iskamlx30f0zknbscpi308y685nbnbf5gr9cj1znr5dlfb0bn";
|
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
for file in $(cat debian/patches/series); do
|
|
|
|
patch -p1 < debian/patches/$file
|
|
|
|
done
|
|
|
|
|
|
|
|
${old.postPatch or ""}
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = false; # https://github.com/jellyfin/jellyfin-ffmpeg/issues/79
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "${old.meta.description} (Jellyfin fork)";
|
|
|
|
homepage = "https://github.com/jellyfin/jellyfin-ffmpeg";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ justinas ];
|
|
|
|
};
|
|
|
|
})
|