pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, pkg-config, glib, cairo, Carbon, fontconfig
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, glib, cairo, Carbon, fontconfig
|
||||
, libtiff, giflib, libjpeg, libpng
|
||||
, libXrender, libexif, autoreconfHook, fetchpatch }:
|
||||
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
||||
configureFlags = stdenv.lib.optional stdenv.cc.isClang "--host=${stdenv.hostPlatform.system}";
|
||||
configureFlags = lib.optional stdenv.cc.isClang "--host=${stdenv.hostPlatform.system}";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
@@ -29,9 +29,9 @@ stdenv.mkDerivation rec {
|
||||
[ glib cairo fontconfig libtiff giflib
|
||||
libjpeg libpng libXrender libexif
|
||||
]
|
||||
++ stdenv.lib.optional stdenv.isDarwin Carbon;
|
||||
++ lib.optional stdenv.isDarwin Carbon;
|
||||
|
||||
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
ln -s $out/lib/libgdiplus.0.dylib $out/lib/libgdiplus.so
|
||||
'';
|
||||
|
||||
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
make check -w
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Mono library that provides a GDI+-compatible API on non-Windows operating systems";
|
||||
homepage = "https://www.mono-project.com/docs/gui/libgdiplus/";
|
||||
platforms = platforms.unix;
|
||||
|
||||
Reference in New Issue
Block a user