Files
nixpkgs/pkgs/by-name/nu/nugget-doom/package.nix
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

63 lines
1.2 KiB
Nix

{
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;
};
})