libtiger: fix on darwin

This commit is contained in:
Matthew Bauer 2017-11-13 00:35:56 -06:00
parent bdce9327a1
commit 5882cc203c

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libkate, pango, cairo, pkgconfig }:
{ stdenv, lib, fetchurl, libkate, pango, cairo, pkgconfig, darwin }:
stdenv.mkDerivation rec {
name = "libtiger-0.3.4";
@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libkate pango cairo ];
buildInputs = [ libkate pango cairo ]
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.ApplicationServices;
meta = {
homepage = https://code.google.com/archive/p/libtiger/;