Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

55 lines
1.2 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
qt6,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "dsda-launcher";
version = "1.4";
src = fetchFromGitHub {
owner = "Pedro-Beirao";
repo = "dsda-launcher";
tag = "v${finalAttrs.version}";
hash = "sha256-OMgxhb+9GdLK00nl/df9QiYYewr+YEjdX2KjQWvu1mk=";
};
nativeBuildInputs = [ qt6.wrapQtAppsHook ];
buildInputs = [
qt6.qtbase
qt6.qtwayland
];
buildPhase = ''
runHook preBuild
mkdir -p "./src/build"
cd "./src/build"
qmake6 ..
make
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp ./dsda-launcher $out/bin
install -Dm444 ../icons/dsda-Launcher.desktop $out/share/applications/dsda-Launcher.desktop
install -Dm444 ../icons/dsda-launcher.png $out/share/pixmaps/dsda-launcher.png
runHook postInstall
'';
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://github.com/Pedro-Beirao/dsda-launcher";
description = "Launcher GUI for the dsda-doom source port";
mainProgram = "dsda-launcher";
license = lib.licenses.gpl3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ Gliczy ];
};
})