From 90b30289448dbcfa4df9299c06d9d50c991531d0 Mon Sep 17 00:00:00 2001 From: bandithedoge Date: Mon, 2 Jun 2025 08:18:55 +0200 Subject: [PATCH 1/2] maintainers: add bandithedoge --- maintainers/maintainer-list.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index d2f8aa0900da..a4daa6fc97cc 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -2757,6 +2757,13 @@ githubId = 68944906; name = "Nikita"; }; + bandithedoge = { + email = "bandithedoge@protonmail.com"; + matrix = "@bandithedoge:matrix.org"; + github = "bandithedoge"; + githubId = 26331682; + name = "MikoĊ‚aj Lercher"; + }; bandresen = { email = "bandresen@gmail.com"; github = "bennyandresen"; From fc825aa8b3dde795cc74bbe46207fc0c6cb9b061 Mon Sep 17 00:00:00 2001 From: bandithedoge Date: Mon, 2 Jun 2025 08:19:11 +0200 Subject: [PATCH 2/2] nugget-doom: init at 4.3.0 --- pkgs/by-name/nu/nugget-doom/package.nix | 57 +++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 pkgs/by-name/nu/nugget-doom/package.nix diff --git a/pkgs/by-name/nu/nugget-doom/package.nix b/pkgs/by-name/nu/nugget-doom/package.nix new file mode 100644 index 000000000000..b4fcc45a49b9 --- /dev/null +++ b/pkgs/by-name/nu/nugget-doom/package.nix @@ -0,0 +1,57 @@ +{ + 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.3.0"; + + src = fetchFromGitHub { + owner = "MrAlaux"; + repo = "Nugget-Doom"; + tag = "nugget-doom-${finalAttrs.version}"; + hash = "sha256-T85UwCl75/RPOscfcRVlF3HhjlDVM2+W1L002UGNLZU="; + }; + + nativeBuildInputs = [ + cmake + python3 + ]; + + buildInputs = [ + SDL2 + SDL2_net + alsa-lib + fluidsynth + libebur128 + libsndfile + libxmp + openal + yyjson + ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Doom source port forked from Woof! with additional features"; + homepage = "https://github.com/MrAlaux/Nugget-Doom"; + changelog = "https://github.com/fabiangreffrath/woof/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; + }; +})