···
-
{ lib, stdenv, fetchurl
···
···
hardeningDisable = [ "format" ];
# -pthread gets passed to clang, causing warnings
++ lib.optional stdenv.isDarwin "--enable-werror=no";
nativeBuildInputs = [ autoconf automake pkg-config ];
-
buildInputs = [ zlib fontconfig freetype libpng libjpeg libwebp libtiff libXpm libavif ];
outputs = [ "bin" "dev" "out" ];
-
postFixup = ''moveToOutput "bin/gdlib-config" $dev'';
enableParallelBuilding = true;
···
description = "A dynamic image creation library";
license = licenses.free; # some custom license
platforms = platforms.unix;
···
···
···
hardeningDisable = [ "format" ];
# -pthread gets passed to clang, causing warnings
++ lib.optional stdenv.isDarwin "--enable-werror=no";
nativeBuildInputs = [ autoconf automake pkg-config ];
+
buildInputs = [ zlib fontconfig freetype libpng libjpeg libwebp libtiff libavif ]
+
++ lib.optional withXorg libXpm;
outputs = [ "bin" "dev" "out" ];
+
moveToOutput "bin/gdlib-config" $dev
enableParallelBuilding = true;
···
description = "A dynamic image creation library";
license = licenses.free; # some custom license
platforms = platforms.unix;
+
maintainers = with maintainers; [ ];