diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index dca85cff138c..d0f201c49a99 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -1069,6 +1069,13 @@ } ]; }; + alch-emi = { + email = "emi@alchemi.dev"; + github = "Alch-Emi"; + githubId = 38897201; + name = "Emi"; + matrix = "@emi:the-apothecary.club"; + }; aldenparker = { github = "aldenparker"; githubId = 32986873; diff --git a/pkgs/by-name/za/zatackax/package.nix b/pkgs/by-name/za/zatackax/package.nix new file mode 100644 index 000000000000..8361f286d084 --- /dev/null +++ b/pkgs/by-name/za/zatackax/package.nix @@ -0,0 +1,50 @@ +{ + autoreconfHook, + fetchFromGitHub, + SDL, + SDL_image, + SDL_mixer, + SDL_ttf, + stdenv, + lib, + nix-update-script, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "zatackax"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "simenheg"; + repo = "zatackax"; + tag = "v${finalAttrs.version}"; + hash = "sha256-1m99hi0kjpj5Yl1nAmwSMMdQWcP0rfLLPFJPkU4oVbM="; + }; + + strictDeps = true; + + nativeBuildInputs = [ + autoreconfHook + ]; + + buildInputs = [ + SDL_mixer + SDL_ttf + SDL_image + SDL + ]; + + configureFlags = [ "CFLAGS=-I${lib.getDev SDL}/include/SDL" ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Open-source remake of the early computer game \"Achtung, die Kurve!\""; + homepage = "https://github.com/simenheg/zatackax"; + changelog = "https://github.com/simenheg/zatackax/releases"; + license = lib.licenses.gpl3Plus; + maintainers = [ lib.maintainers.alch-emi ]; + mainProgram = "zatackax"; + platforms = lib.platforms.linux; + }; +})