2018-07-10 20:24:59 +01:00
|
|
|
{ stdenv, fetchFromGitHub, SDL, SDL_ttf, SDL_gfx, SDL_mixer, autoreconfHook,
|
|
|
|
libpng, glew }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "hyperrogue-${version}";
|
2019-03-15 21:00:01 +00:00
|
|
|
version = "10.5e";
|
2018-07-10 20:24:59 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zenorogue";
|
|
|
|
repo = "hyperrogue";
|
|
|
|
rev = "v${version}";
|
2019-03-15 21:00:01 +00:00
|
|
|
sha256 = "1sjr26if3xv8xv52app1hkxs0bbgbviagydm4mdwbxjpd6v3d1aa";
|
2018-07-10 20:24:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
CPPFLAGS = "-I${SDL.dev}/include/SDL";
|
|
|
|
|
|
|
|
buildInputs = [ autoreconfHook SDL SDL_ttf SDL_gfx SDL_mixer libpng glew ];
|
|
|
|
|
2018-11-27 20:21:25 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-07-10 20:24:59 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.roguetemple.com/z/hyper/;
|
|
|
|
description = "A roguelike game set in hyperbolic geometry";
|
|
|
|
maintainers = with maintainers; [ rardiol ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|