Files
qyouradio/build.nix
2025-10-11 19:22:51 +02:00

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
'';
}