1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, makeWrapper, gstreamer
2 , gst-plugins-base, gst-plugins-good, gst-plugins-bad, gst-plugins-ugly, gst-libav, libupnp }:
7 pluginPath = lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav ];
10 pname = "gmrender-resurrect";
13 src = fetchFromGitHub {
15 repo = "gmrender-resurrect";
17 sha256 = "sha256-FR5bMjwPnY1/PNdPRiaxoY1keogq40M06YOaoks4zVY=";
20 buildInputs = [ gstreamer libupnp ];
21 nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper ];
24 for prog in "$out/bin/"*; do
25 wrapProgram "$prog" --suffix GST_PLUGIN_SYSTEM_PATH_1_0 : "${pluginPath}"
30 description = "Resource efficient UPnP/DLNA renderer, optimal for Raspberry Pi, CuBox or a general MediaServer";
31 mainProgram = "gmediarender";
32 homepage = "https://github.com/hzeller/gmrender-resurrect";
33 license = licenses.gpl2Plus;
34 platforms = platforms.linux;
35 maintainers = with maintainers; [ koral hzeller ];