Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

63 lines
1.2 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
python3,
SDL2,
SDL2_net,
alsa-lib,
fluidsynth,
libebur128,
libsndfile,
libxmp,
openal,
yyjson,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "nugget-doom";
version = "4.4.0";
src = fetchFromGitHub {
owner = "MrAlaux";
repo = "Nugget-Doom";
tag = "nugget-doom-${finalAttrs.version}";
hash = "sha256-Egk4Tx0qFC++r/Bubr1N+lxAfjyDkRmrZKwf09ZD+Kk=";
};
nativeBuildInputs = [
cmake
python3
];
buildInputs = [
SDL2
SDL2_net
alsa-lib
fluidsynth
libebur128
libsndfile
libxmp
openal
yyjson
];
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"nugget-doom-(.*)"
];
};
meta = {
description = "Doom source port forked from Woof! with additional features";
homepage = "https://github.com/MrAlaux/Nugget-Doom";
changelog = "https://github.com/MrAlaux/Nugget-Doom/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ bandithedoge ];
mainProgram = "nugget-doom";
platforms = with lib.platforms; linux ++ darwin ++ windows;
};
})