1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
{ lib
, stdenv
, fetchurl
, cmake
, pkg-config
, util-linux
, libGL
, freetype
, pugixml
, SDL2
, SDL2_image
, openal
, libogg
, libvorbis
, libGLU
, enet
, synfigstudio
, inkscape
, imagemagick
, pngquant
, xz
, bc
}:
stdenv.mkDerivation rec {
pname = "hikounomizu";
version = "1.0.1";
src = fetchurl {
url = "http://download.tuxfamily.org/hnm/${version}/hikounomizu-${version}-src.tar.bz2";
hash = "sha256-3wRhe6CDq1dD0SObAygfqslYJx+EM3LM3rj6HI0whYU=";
};
nativeBuildInputs = [
cmake
pkg-config
# for make data
util-linux
synfigstudio.synfig
inkscape
imagemagick
pngquant
xz
bc
];
buildInputs = [
libGL
freetype
pugixml
SDL2
SDL2_image
openal
libogg
libvorbis
libGLU
enet
];
postBuild = ''
make data HNM_PARALLEL=$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;
};
}
|