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