2021-01-17 05:49:22 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitLab,
|
|
|
|
cmake,
|
|
|
|
openal,
|
|
|
|
pkg-config,
|
|
|
|
libogg,
|
2019-03-29 16:22:02 +00:00
|
|
|
libvorbis,
|
|
|
|
SDL2,
|
|
|
|
makeWrapper,
|
|
|
|
libpng,
|
|
|
|
libjpeg_turbo,
|
|
|
|
libGLU,
|
|
|
|
}:
|
|
|
|
|
2024-03-14 18:42:12 +00:00
|
|
|
let
|
|
|
|
inherit (lib)
|
|
|
|
licenses
|
|
|
|
maintainers
|
|
|
|
platforms
|
|
|
|
;
|
|
|
|
in
|
2019-03-29 16:22:02 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
pname = "lugaru";
|
|
|
|
version = "1.2";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "osslugaru";
|
|
|
|
repo = "lugaru";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "089rblf8xw3c6dq96vnfla6zl8gxcpcbc1bj5jysfpq63hhdpypz";
|
|
|
|
};
|
|
|
|
|
2021-01-17 05:49:22 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
makeWrapper
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
];
|
2024-12-10 19:26:33 +00:00
|
|
|
|
2019-03-29 16:22:02 +00:00
|
|
|
buildInputs = [
|
|
|
|
libGLU
|
|
|
|
openal
|
|
|
|
SDL2
|
|
|
|
libogg
|
|
|
|
libvorbis
|
|
|
|
libpng
|
|
|
|
libjpeg_turbo
|
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DSYSTEM_INSTALL=ON" ];
|
|
|
|
|
|
|
|
meta = {
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "Third person ninja rabbit fighting game";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "lugaru";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://osslugaru.gitlab.io";
|
2020-11-17 16:50:53 +00:00
|
|
|
maintainers = [ ];
|
2019-03-29 16:22:02 +00:00
|
|
|
platforms = platforms.linux;
|
2024-03-14 18:42:12 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2019-03-29 16:22:02 +00:00
|
|
|
};
|
|
|
|
}
|