Files
qyouradio/build.nix

47 lines
627 B
Nix
Raw Normal View History

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