diff options
author | Bignaux Ronan <ronan@aimao.org> | 2019-03-29 17:22:02 +0100 |
---|---|---|
committer | Bignaux Ronan <ronan@aimao.org> | 2019-03-30 16:14:17 +0100 |
commit | 7e0da991b58800b9e226a6970b9848d40535b1a0 (patch) | |
tree | 02073a2e69b91e82b3018691a56f016f6974063f /pkgs/games/lugaru/default.nix | |
parent | 5eb3edc8fb71267be2bbf64a951af3d93b8647e5 (diff) |
lugaru: init at 1.2
Diffstat (limited to 'pkgs/games/lugaru/default.nix')
-rw-r--r-- | pkgs/games/lugaru/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/games/lugaru/default.nix b/pkgs/games/lugaru/default.nix new file mode 100644 index 0000000000000..cad98650c24e1 --- /dev/null +++ b/pkgs/games/lugaru/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromGitLab, cmake, openal, pkgconfig, libogg, + libvorbis, SDL2, makeWrapper, libpng, libjpeg_turbo, libGLU }: + +with stdenv.lib; + +stdenv.mkDerivation rec { + + pname = "lugaru"; + version = "1.2"; + + src = fetchFromGitLab { + owner = "osslugaru"; + repo = "lugaru"; + rev = version; + sha256 = "089rblf8xw3c6dq96vnfla6zl8gxcpcbc1bj5jysfpq63hhdpypz"; + }; + + nativeBuildInputs = [ makeWrapper cmake pkgconfig ]; + + buildInputs = [ libGLU openal SDL2 libogg libvorbis libpng libjpeg_turbo ]; + + cmakeFlags = [ "-DSYSTEM_INSTALL=ON" ]; + + meta = { + description = "Lugaru HD: Third person ninja rabbit fighting game"; + homepage = https://osslugaru.gitlab.io; + maintainers = [ maintainers.genesis ]; + platforms = platforms.linux; + license = stdenv.lib.licenses.gpl2Plus; + }; +} |