zatackax: init at 1.1.0
Zatackax is an open-source remake of the early computer game *Achtung, die Kurve!* More information can be found on the projects [GitHub](https://github.com/simenheg/zatackax). Packaging considerations: - **Is the package ready for general use?** Zatackax was originally released in 2010, and is still passively maintained to this day. - **Does the project have a clear license statement?** Zatackax is licensed under GPL3+, as declared in its README. - **How realistic is it that it will be used by other people?** Zatackax is currently packaged by Debian, OpenSUSE, the AUR, and more. A full list of repositories which include Zatackax is included on their README. - **Is the software actively maintained upstream?** Zatackax currently recieves passive maintenance. However, it is not a security-critical package, nor is it integrated into a fast-changing ecosystem. - **Are you willing to maintain the package?** Yes. While I did choose to contribute this package first as an exercise to help familiarize myself with the process of contributing to nixpkgs, and I forsee only a very small maintance burden from this package, I understand that I am taking on a multi-year commitment, and am willing to provide maintainership for at least a release cycle, and likely much longer. Including suggestions from Moraxyc Xu (@Moraxyc)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user