Files
qyouvideo/build.nix
Dark Steveneq 6fc0736c2d fist comin
2025-10-18 21:40:02 +02:00

47 lines
627 B
Nix
Executable File

{ stdenv
, lib
, alsa-lib
, xorg
, clang
, qtbase
, qtdeclarative
, qtmultimedia
, qtlocation
, qtwebview
, qtwayland
, libglvnd
, cmake
, wrapQtAppsHook
}:
stdenv.mkDerivation {
pname = "qyouvideo";
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
'';
}