diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-10-21 19:57:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 19:57:12 +0200 |
commit | 5106dc0ddb017481c12c28b076c629f77fcaedd2 (patch) | |
tree | 7ceff1d44c8bed58e7e22b811a321a36fbdac2fd /pkgs/games | |
parent | 844715a8b9bcf467f9f0223a55d300fceab81e08 (diff) | |
parent | 0eceb37a6c6ff38ac9269056ebfd65f6d71d9333 (diff) |
Merge pull request #196397 from fgaz/hikounomizu/init
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/hikounomizu/default.nix | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/pkgs/games/hikounomizu/default.nix b/pkgs/games/hikounomizu/default.nix new file mode 100644 index 0000000000000..f55b775164007 --- /dev/null +++ b/pkgs/games/hikounomizu/default.nix @@ -0,0 +1,77 @@ +{ lib +, stdenv +, fetchurl +, cmake +, pkg-config +, util-linux +, libGL +, freetype +, pugixml +, SDL2 +, SDL2_image +, openal +, libogg +, libvorbis +, libGLU +, synfigstudio +, inkscape +, imagemagick +, pngquant +, xz +}: + +stdenv.mkDerivation rec { + pname = "hikounomizu"; + version = "0.9.2"; + + src = fetchurl { + url = "http://download.tuxfamily.org/hnm/${version}/hikounomizu-${version}-src.tar.bz2"; + hash = "sha256-ZtvzQAiYG4IcdgKiBDIQFOJVnLbz1TsiIbdZr/0Y2U8="; + }; + + nativeBuildInputs = [ + cmake + pkg-config + # for make data + util-linux + synfigstudio.synfig + inkscape + imagemagick + pngquant + xz + ]; + + buildInputs = [ + libGL + freetype + pugixml + SDL2 + SDL2_image + openal + libogg + libvorbis + libGLU + ]; + + postBuild = '' + make data -j$NIX_BUILD_CORES + ''; + + meta = with lib; { + description = "A free platform-based fighting game"; + longDescription = '' + Hikou no mizu (ハイクの水) is a free platform-based fighting game, + licensed under the GNU GPL v3 (program) and the LAL (graphics). + It works on many operating systems including GNU/Linux, *BSD, Haiku, + OS X and Windows. + + The characters use natural powers such as water or lightning, + but they can also (mostly for now) fight the traditional way! + ''; + homepage = "https://hikounomizu.org/"; + downloadPage = "https://hikounomizu.org/download.html"; + maintainers = with maintainers; [ fgaz ]; + license = [ licenses.gpl3Plus licenses.lal13 ]; + platforms = platforms.all; + }; +} |