2022-07-14 12:49:19 +00:00
|
|
|
{ ffmpeg_5-full
|
|
|
|
, nv-codec-headers-11
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
2022-04-15 01:41:22 +00:00
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
(ffmpeg_5-full.override {
|
|
|
|
nv-codec-headers = nv-codec-headers-11;
|
|
|
|
}).overrideAttrs (old: rec {
|
2022-04-27 09:35:20 +00:00
|
|
|
pname = "jellyfin-ffmpeg";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "5.0.1-7";
|
2022-04-15 01:41:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jellyfin";
|
|
|
|
repo = "jellyfin-ffmpeg";
|
|
|
|
rev = "v${version}";
|
2022-07-14 12:49:19 +00:00
|
|
|
sha256 = "sha256-jMd7tEEfiHqTp4q8c6EvbjL0KyJ6ucj4ZNrKOJLJ1Mc=";
|
2022-04-15 01:41:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
for file in $(cat debian/patches/series); do
|
|
|
|
patch -p1 < debian/patches/$file
|
|
|
|
done
|
|
|
|
|
|
|
|
${old.postPatch or ""}
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "${old.meta.description} (Jellyfin fork)";
|
|
|
|
homepage = "https://github.com/jellyfin/jellyfin-ffmpeg";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ justinas ];
|
|
|
|
};
|
|
|
|
})
|