Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

56 lines
927 B
Nix

{
lib,
stdenv,
vdr,
alsa-lib,
fetchFromGitHub,
xcbutilwm,
xorgserver,
ffmpeg,
libva,
libvdpau,
xorg,
libGL,
libGLU,
}:
stdenv.mkDerivation rec {
pname = "vdr-softhddevice";
version = "2.4.6";
src = fetchFromGitHub {
owner = "ua0lnj";
repo = "vdr-plugin-softhddevice";
sha256 = "sha256-69mLiu/v+iZntrGvL0eNE/dDQwRVIlg5MfsNTr52Ots=";
rev = "v${version}";
};
buildInputs = [
vdr
xcbutilwm
ffmpeg
alsa-lib
libva
libvdpau
xorg.libxcb
xorg.libX11
libGL
libGLU
];
makeFlags = [ "DESTDIR=$(out)" ];
postPatch = ''
substituteInPlace softhddev.c \
--replace "LOCALBASE \"/bin/X\"" "\"${xorgserver}/bin/X\""
'';
meta = with lib; {
inherit (src.meta) homepage;
description = "VDR SoftHDDevice Plug-in";
maintainers = [ maintainers.ck3d ];
license = licenses.gpl2;
inherit (vdr.meta) platforms;
};
}