diff options
author | Atemu <atemu.main@gmail.com> | 2024-01-14 11:49:17 +0100 |
---|---|---|
committer | Atemu <atemu.main@gmail.com> | 2024-03-15 11:26:32 +0100 |
commit | bb22f338b62f6e51ead6333005fdf824653fec1e (patch) | |
tree | 79d6cc869580a2705b6e64c05a53254c8b995532 /pkgs/development/libraries/jellyfin-ffmpeg | |
parent | b72fefdcd1d79991fa6606791aa98651c11f8120 (diff) |
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).
Diffstat (limited to 'pkgs/development/libraries/jellyfin-ffmpeg')
-rw-r--r-- | pkgs/development/libraries/jellyfin-ffmpeg/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/development/libraries/jellyfin-ffmpeg/default.nix b/pkgs/development/libraries/jellyfin-ffmpeg/default.nix index fdce5118e6b3c..750a5aa8d002a 100644 --- a/pkgs/development/libraries/jellyfin-ffmpeg/default.nix +++ b/pkgs/development/libraries/jellyfin-ffmpeg/default.nix @@ -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 = []; |