Merge pull request #196397 from fgaz/hikounomizu/init

This commit is contained in:
Sandro 2022-10-21 19:57:12 +02:00 committed by GitHub
commit 5106dc0ddb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 89 additions and 0 deletions

View File

@ -554,6 +554,16 @@ in mkLicense lset) ({
free = false;
};
lal12 = {
spdxId = "LAL-1.2";
fullName = "Licence Art Libre 1.2";
};
lal13 = {
spdxId = "LAL-1.3";
fullName = "Licence Art Libre 1.3";
};
lgpl2Only = {
spdxId = "LGPL-2.0-only";
fullName = "GNU Library General Public License v2 only";

View File

@ -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;
};
}

View File

@ -33978,6 +33978,8 @@ with pkgs;
inherit (haskellPackages) ghcWithPackages;
};
hikounomizu = callPackage ../games/hikounomizu { };
hyperrogue = callPackage ../games/hyperrogue { };
icbm3d = callPackage ../games/icbm3d { };