Merge pull request #261687 from fgaz/hikounomizu/1.0

hikounomizu: 0.9.2 -> 1.0
This commit is contained in:
Weijia Wang 2023-10-18 01:34:41 +02:00 committed by GitHub
commit a8840a945f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,20 +13,22 @@
, libogg
, libvorbis
, libGLU
, enet
, synfigstudio
, inkscape
, imagemagick
, pngquant
, xz
, bc
}:
stdenv.mkDerivation rec {
pname = "hikounomizu";
version = "0.9.2";
version = "1.0";
src = fetchurl {
url = "http://download.tuxfamily.org/hnm/${version}/hikounomizu-${version}-src.tar.bz2";
hash = "sha256-ZtvzQAiYG4IcdgKiBDIQFOJVnLbz1TsiIbdZr/0Y2U8=";
hash = "sha256-Hw/BA7jOW9KGdde1NLDh4SfQXxvZkNGx/sHXukgFZ5M=";
};
nativeBuildInputs = [
@ -39,6 +41,7 @@ stdenv.mkDerivation rec {
imagemagick
pngquant
xz
bc
];
buildInputs = [
@ -51,10 +54,11 @@ stdenv.mkDerivation rec {
libogg
libvorbis
libGLU
enet
];
postBuild = ''
make data -j$NIX_BUILD_CORES
make data HNM_PARALLEL=$NIX_BUILD_CORES
'';
meta = with lib; {