{ stdenv , lib , alsa-lib , xorg , clang , qtbase , qtdeclarative , qtmultimedia , qtlocation , qtwebview , qtwayland , libglvnd , cmake , wrapQtAppsHook }: stdenv.mkDerivation { pname = "qyouradio"; version = "1.0"; src = ./.; buildInputs = [ # alsa-lib # xorg.libX11 # xorg.libXext qtbase qtdeclarative qtlocation qtmultimedia qtwebview ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ qtwayland libglvnd ]; nativeBuildInputs = [ clang cmake wrapQtAppsHook ]; installPhase = '' mkdir -p $out/bin cp appqyouradio $out/bin/qyouradio ''; }