depot/third_party/nixpkgs/pkgs/games/solarus/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

36 lines
940 B
Nix

{ lib, mkDerivation, fetchFromGitLab, cmake, luajit,
SDL2, SDL2_image, SDL2_ttf, physfs,
openal, libmodplug, libvorbis,
qtbase, qttools }:
mkDerivation rec {
pname = "solarus";
version = "1.6.2";
src = fetchFromGitLab {
owner = "solarus-games";
repo = pname;
rev = "v${version}";
sha256 = "0d0xfjbmamz84aajxfc0fwrj8862xxbxz6n4xnc05r1m4g7gba77";
};
buildInputs = [ cmake luajit SDL2
SDL2_image SDL2_ttf physfs
openal libmodplug libvorbis
qtbase qttools ];
enableParallelBuilding = true;
meta = with lib; {
description = "A Zelda-like ARPG game engine";
longDescription = ''
Solarus is a game engine for Zelda-like ARPG games written in lua.
Many full-fledged games have been writen for the engine.
'';
homepage = "http://www.solarus-games.org";
license = licenses.gpl3;
maintainers = [ maintainers.Nate-Devv ];
platforms = platforms.linux;
};
}