forked from ghostfox/qyouradio
41 lines
556 B
Nix
Executable File
41 lines
556 B
Nix
Executable File
{ stdenv
|
|
, lib
|
|
, clang
|
|
, qtbase
|
|
, qtdeclarative
|
|
, qtmultimedia
|
|
, qtlocation
|
|
, qtwebview
|
|
, qtwayland
|
|
, libglvnd
|
|
, cmake
|
|
, wrapQtAppsHook
|
|
}:
|
|
stdenv.mkDerivation {
|
|
pname = "qyouradio";
|
|
version = "1.0";
|
|
|
|
src = ./.;
|
|
|
|
buildInputs = [
|
|
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
|
|
'';
|
|
} |