gd: multiple outputs

This commit is contained in:
Joachim Fasting 2016-05-22 14:03:16 +02:00
parent d9796f44f6
commit 63a8c58185
No known key found for this signature in database
GPG Key ID: 4330820E1E04DCF4

View File

@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ zlib fontconfig freetype libjpeg libpng libtiff libXpm ];
outputs = [ "dev" "out" "bin" ];
postFixup = ''moveToOutput "bin/gdlib-config" $dev'';
meta = with stdenv.lib; {
homepage = https://libgd.github.io/;
description = "A dynamic image creation library";