···1+{ stdenv, fetchFromGitHub, cmake, luajit,
2+ SDL2, SDL2_image, SDL2_ttf, physfs,
3+ openal, libmodplug, libvorbis}:
4+5+stdenv.mkDerivation rec {
6+ name = "solarus-${version}";
7+ version = "1.4.5";
8+9+ src = fetchFromGitHub {
10+ owner = "christopho";
11+ repo = "solarus";
12+ rev = "d9fdb9fdb4e1b9fc384730a9279d134ae9f2c70e";
13+ sha256 = "0xjx789d6crm322wmkqyq9r288vddsha59yavhy78c4r01gs1p5v";
14+ };
15+16+ buildInputs = [ cmake luajit SDL2
17+ SDL2_image SDL2_ttf physfs
18+ openal libmodplug libvorbis ];
19+20+ meta = with stdenv.lib; {
21+ description = "A Zelda-like ARPG game engine";
22+ longDescription = ''
23+ Solarus is a game engine for Zelda-like ARPG games written in lua.
24+ Many full-fledged games have been writen for the engine.
25+ '';
26+ homepage = http://www.solarus-games.org;
27+ license = licenses.gpl3;
28+ maintainers = [ maintainers.Nate-Devv ];
29+ platforms = platforms.linux;
30+ };
31+32+}
+2
pkgs/top-level/all-packages.nix
···15581 soi = callPackage ../games/soi {
15582 lua = lua5_1;
15583 };
001558415585 # You still can override by passing more arguments.
15586 space-orbit = callPackage ../games/space-orbit { };
···15581 soi = callPackage ../games/soi {
15582 lua = lua5_1;
15583 };
15584+15585+ solarus = callPackage ../games/solarus { };
1558615587 # You still can override by passing more arguments.
15588 space-orbit = callPackage ../games/space-orbit { };