Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00

86 lines
1.6 KiB
Nix

{
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 (finalAttrs: {
pname = "hikounomizu";
version = "1.1";
src = fetchurl {
url = "http://download.tuxfamily.org/hnm/${finalAttrs.version}/hikounomizu-${finalAttrs.version}-src.tar.bz2";
hash = "sha256-rWy6m9Wc6w0PSSS8WUMeCNvXok2hRioKRGR6a1tyPks=";
};
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 = "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;
};
})