nixpkgs/pkgs/games/hikounomizu/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

82 lines
1.6 KiB
Nix
Raw Normal View History

2022-06-22 19:00:39 +02:00
{ lib
, stdenv
, fetchurl
, cmake
, pkg-config
, util-linux
, libGL
, freetype
, pugixml
, SDL2
, SDL2_image
, openal
, libogg
, libvorbis
, libGLU
2023-10-17 20:10:12 +02:00
, enet
2022-06-22 19:00:39 +02:00
, synfigstudio
, inkscape
, imagemagick
, pngquant
, xz
2023-10-17 20:10:12 +02:00
, bc
2022-06-22 19:00:39 +02:00
}:
stdenv.mkDerivation rec {
pname = "hikounomizu";
2023-11-08 10:58:06 +01:00
version = "1.0.1";
2022-06-22 19:00:39 +02:00
src = fetchurl {
url = "http://download.tuxfamily.org/hnm/${version}/hikounomizu-${version}-src.tar.bz2";
2023-11-08 10:58:06 +01:00
hash = "sha256-3wRhe6CDq1dD0SObAygfqslYJx+EM3LM3rj6HI0whYU=";
2022-06-22 19:00:39 +02:00
};
nativeBuildInputs = [
cmake
pkg-config
# for make data
util-linux
synfigstudio.synfig
inkscape
imagemagick
pngquant
xz
2023-10-17 20:10:12 +02:00
bc
2022-06-22 19:00:39 +02:00
];
buildInputs = [
libGL
freetype
pugixml
SDL2
SDL2_image
openal
libogg
libvorbis
libGLU
2023-10-17 20:10:12 +02:00
enet
2022-06-22 19:00:39 +02:00
];
postBuild = ''
2023-10-17 20:10:12 +02:00
make data HNM_PARALLEL=$NIX_BUILD_CORES
2022-06-22 19:00:39 +02:00
'';
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;
};
}