2022-06-22 18:00:39 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, cmake
|
|
|
|
, pkg-config
|
|
|
|
, util-linux
|
|
|
|
, libGL
|
|
|
|
, freetype
|
|
|
|
, pugixml
|
|
|
|
, SDL2
|
|
|
|
, SDL2_image
|
|
|
|
, openal
|
|
|
|
, libogg
|
|
|
|
, libvorbis
|
|
|
|
, libGLU
|
2023-10-17 19:10:12 +01:00
|
|
|
, enet
|
2022-06-22 18:00:39 +01:00
|
|
|
, synfigstudio
|
|
|
|
, inkscape
|
|
|
|
, imagemagick
|
|
|
|
, pngquant
|
|
|
|
, xz
|
2023-10-17 19:10:12 +01:00
|
|
|
, bc
|
2022-06-22 18:00:39 +01:00
|
|
|
}:
|
|
|
|
|
2024-02-19 15:34:02 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2022-06-22 18:00:39 +01:00
|
|
|
pname = "hikounomizu";
|
2024-10-13 12:59:02 +01:00
|
|
|
version = "1.1";
|
2022-06-22 18:00:39 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-02-19 15:34:02 +00:00
|
|
|
url = "http://download.tuxfamily.org/hnm/${finalAttrs.version}/hikounomizu-${finalAttrs.version}-src.tar.bz2";
|
2024-10-13 12:59:02 +01:00
|
|
|
hash = "sha256-rWy6m9Wc6w0PSSS8WUMeCNvXok2hRioKRGR6a1tyPks=";
|
2022-06-22 18:00:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
# for make data
|
|
|
|
util-linux
|
|
|
|
synfigstudio.synfig
|
|
|
|
inkscape
|
|
|
|
imagemagick
|
|
|
|
pngquant
|
|
|
|
xz
|
2023-10-17 19:10:12 +01:00
|
|
|
bc
|
2022-06-22 18:00:39 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libGL
|
|
|
|
freetype
|
|
|
|
pugixml
|
|
|
|
SDL2
|
|
|
|
SDL2_image
|
|
|
|
openal
|
|
|
|
libogg
|
|
|
|
libvorbis
|
|
|
|
libGLU
|
2023-10-17 19:10:12 +01:00
|
|
|
enet
|
2022-06-22 18:00:39 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
postBuild = ''
|
2023-10-17 19:10:12 +01:00
|
|
|
make data HNM_PARALLEL=$NIX_BUILD_CORES
|
2022-06-22 18:00:39 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "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;
|
|
|
|
};
|
2024-02-19 15:34:02 +00:00
|
|
|
})
|