jellyfin-ffmpeg: use ffmpeg's new override interface

This causes a rebuild because aribcaption and harfbuzz were in the buildInputs
before but not actually used (at least jopejoe1 and I believe so).
This commit is contained in:
Atemu 2024-01-14 11:49:17 +01:00
parent b72fefdcd1
commit bb22f338b6

View file

@ -3,16 +3,20 @@
, lib
}:
ffmpeg_6-full.overrideAttrs (old: rec {
pname = "jellyfin-ffmpeg";
let
version = "6.0.1-3";
in
src = fetchFromGitHub {
(ffmpeg_6-full.override {
inherit version; # Important! This sets the ABI.
source = fetchFromGitHub {
owner = "jellyfin";
repo = "jellyfin-ffmpeg";
rev = "v${version}";
hash = "sha256-UINiXO61nB/AL0HJJy7G7emujakk/mQv81aUioyJz0Y=";
};
}).overrideAttrs (old: {
pname = "jellyfin-ffmpeg";
# Clobber upstream patches as they don't apply to the Jellyfin fork
patches = [];