1 { qtModule, lib, stdenv, qtbase, qtdeclarative, pkg-config
2 , alsaLib, gstreamer, gst-plugins-base, libpulseaudio, wayland
9 qtInputs = [ qtbase qtdeclarative ];
10 nativeBuildInputs = [ pkg-config ];
11 buildInputs = [ gstreamer gst-plugins-base libpulseaudio ]
12 ++ optional (stdenv.isLinux) alsaLib
13 ++ optional (versionAtLeast qtbase.version "5.14.0" && stdenv.isLinux) wayland;
14 outputs = [ "bin" "dev" "out" ];
15 qmakeFlags = [ "GST_VERSION=1.0" ];
16 NIX_LDFLAGS = optionalString (stdenv.isDarwin) "-lobjc";