Initial commit

This commit is contained in:
Dark Steveneq
2025-10-10 21:19:26 +02:00
commit a4dfc5b9bc
19 changed files with 495 additions and 0 deletions

41
build.nix Executable file
View File

@@ -0,0 +1,41 @@
{ 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/
'';
}