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

68 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
makeWrapper,
gstreamer,
gst-plugins-base,
gst-plugins-good,
gst-plugins-bad,
gst-plugins-ugly,
gst-libav,
libupnp,
}:
let
version = "0.3";
pluginPath = lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" [
gstreamer
gst-plugins-base
gst-plugins-good
gst-plugins-bad
gst-plugins-ugly
gst-libav
];
in
stdenv.mkDerivation {
pname = "gmrender-resurrect";
inherit version;
src = fetchFromGitHub {
owner = "hzeller";
repo = "gmrender-resurrect";
rev = "v${version}";
sha256 = "sha256-Zt8YYRqqX5L/MGLsFzR8JOdYoNX9ypXLX5i+fqkzPkk=";
};
buildInputs = [
gstreamer
libupnp
];
nativeBuildInputs = [
autoreconfHook
pkg-config
makeWrapper
];
postInstall = ''
for prog in "$out/bin/"*; do
wrapProgram "$prog" --suffix GST_PLUGIN_SYSTEM_PATH_1_0 : "${pluginPath}"
done
'';
meta = with lib; {
description = "Resource efficient UPnP/DLNA renderer, optimal for Raspberry Pi, CuBox or a general MediaServer";
mainProgram = "gmediarender";
homepage = "https://github.com/hzeller/gmrender-resurrect";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [
koral
hzeller
];
};
}