Files
qyouvideo/build.nix
Dark Steveneq a4dfc5b9bc Initial commit
2025-10-10 21:19:26 +02:00

41 lines
552 B
Nix
Executable File

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