1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/games/gnujump/default.nix

30 lines
961 B
Nix
Raw Normal View History

2018-02-24 22:23:27 +00:00
{ 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 ];
2019-01-04 19:33:50 +00:00
NIX_LDFLAGS = [
"-lm"
];
2018-02-24 22:23:27 +00:00
meta = with stdenv.lib; {
2019-01-15 16:17:05 +00:00
homepage = https://jump.gnu.sinusoid.es/index.php?title=Main_Page;
2018-02-24 22:23:27 +00:00
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;
};
}