diff options
Diffstat (limited to 'nixpkgs/pkgs/games/gnujump/default.nix')
-rw-r--r-- | nixpkgs/pkgs/games/gnujump/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/games/gnujump/default.nix b/nixpkgs/pkgs/games/gnujump/default.nix new file mode 100644 index 000000000000..64c3954ba485 --- /dev/null +++ b/nixpkgs/pkgs/games/gnujump/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl, SDL, SDL_image, SDL_mixer }: + +stdenv.mkDerivation rec { + name = "gnujump-${version}"; + version = "1.0.8"; + src = fetchurl { + url = "mirror://gnu/gnujump/${name}.tar.gz"; + sha256 = "05syy9mzbyqcfnm0hrswlmhwlwx54f0l6zhcaq8c1c0f8dgzxhqk"; + }; + buildInputs = [ SDL SDL_image SDL_mixer ]; + + NIX_LDFLAGS = [ + "-lm" + ]; + + meta = with stdenv.lib; { + homepage = https://jump.gnu.sinusoid.es/index.php?title=Main_Page; + description = "A clone of the simple yet addictive game Xjump"; + longDescription = '' + The goal in this game is to jump to the next floor trying not to fall + down. As you go upper in the Falling Tower the floors will fall faster. + Try to survive longer get upper than anyone. It might seem too simple but + once you've tried you'll realize how addictive this is. + ''; + license = licenses.gpl3; + maintainers = with maintainers; [ fgaz ]; + platforms = platforms.linux; + }; +} |