2024-09-19 14:19:46 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
cmake,
|
|
|
|
SDL2,
|
|
|
|
SDL2_mixer,
|
|
|
|
SDL2_image,
|
|
|
|
fluidsynth,
|
|
|
|
portmidi,
|
|
|
|
dumb,
|
|
|
|
libvorbis,
|
|
|
|
libmad,
|
|
|
|
libGLU,
|
|
|
|
libzip,
|
|
|
|
alsa-lib,
|
2024-02-29 20:09:43 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dsda-doom";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.28.1";
|
2024-02-29 20:09:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kraflab";
|
|
|
|
repo = "dsda-doom";
|
|
|
|
rev = "v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-X2v9eKiIYX4Zi3C1hbUoW4mceRVa6sxpBsP4Npyo4hM=";
|
2024-02-29 20:09:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = "${src.name}/prboom2";
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2024-02-29 20:09:43 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2024-09-19 14:19:46 +00:00
|
|
|
alsa-lib
|
2024-02-29 20:09:43 +00:00
|
|
|
dumb
|
2024-09-19 14:19:46 +00:00
|
|
|
fluidsynth
|
2024-02-29 20:09:43 +00:00
|
|
|
libGLU
|
2024-09-19 14:19:46 +00:00
|
|
|
libmad
|
|
|
|
libvorbis
|
2024-02-29 20:09:43 +00:00
|
|
|
libzip
|
2024-09-19 14:19:46 +00:00
|
|
|
portmidi
|
|
|
|
SDL2
|
|
|
|
SDL2_image
|
|
|
|
SDL2_mixer
|
2024-02-29 20:09:43 +00:00
|
|
|
];
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
meta = {
|
2024-02-29 20:09:43 +00:00
|
|
|
homepage = "https://github.com/kraflab/dsda-doom";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Advanced Doom source port with a focus on speedrunning, successor of PrBoom+";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "dsda-doom";
|
2024-09-19 14:19:46 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ Gliczy ];
|
2024-02-29 20:09:43 +00:00
|
|
|
};
|
|
|
|
}
|