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
61 lines
1.2 KiB
Nix
61 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
SDL2,
|
|
SDL2_mixer,
|
|
SDL2_image,
|
|
fluidsynth,
|
|
portmidi,
|
|
libopenmpt,
|
|
libvorbis,
|
|
libmad,
|
|
libGLU,
|
|
libzip,
|
|
alsa-lib,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "dsda-doom";
|
|
version = "0.29.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kraflab";
|
|
repo = "dsda-doom";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-Nsz9bj+AJomkYOiy5cli+NLmrJKNjYOiXjEZDXnnFNo=";
|
|
};
|
|
|
|
sourceRoot = "${finalAttrs.src.name}/prboom2";
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [
|
|
alsa-lib
|
|
libopenmpt
|
|
fluidsynth
|
|
libGLU
|
|
libmad
|
|
libvorbis
|
|
libzip
|
|
portmidi
|
|
SDL2
|
|
SDL2_image
|
|
SDL2_mixer
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
homepage = "https://github.com/kraflab/dsda-doom";
|
|
changelog = "https://github.com/kraflab/dsda-doom/releases/tag/v${finalAttrs.version}";
|
|
description = "Advanced Doom source port with a focus on speedrunning, successor of PrBoom+";
|
|
mainProgram = "dsda-doom";
|
|
license = lib.licenses.gpl2Plus;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [ Gliczy ];
|
|
};
|
|
})
|