darwin: libdc1394: add missing darwin deps

This commit is contained in:
Stéphane Jourdois 2015-11-11 22:53:41 +01:00
parent 972381b66a
commit 00da78070e
2 changed files with 8 additions and 3 deletions

View File

@ -1,4 +1,6 @@
{ stdenv, fetchurl, libraw1394, libusb1 }:
{ stdenv, fetchurl, libraw1394, libusb1
, CoreServices
}:
stdenv.mkDerivation rec {
name = "libdc1394-2.2.3";
@ -9,7 +11,8 @@ stdenv.mkDerivation rec {
};
buildInputs = [ libusb1 ]
++ stdenv.lib.optional stdenv.isLinux [ libraw1394 ];
++ stdenv.lib.optional stdenv.isLinux libraw1394
++ stdenv.lib.optional stdenv.isDarwin CoreServices;
meta = {
homepage = http://sourceforge.net/projects/libdc1394/;

View File

@ -6959,7 +6959,9 @@ let
libdbusmenu_qt5 = callPackage ../development/libraries/libdbusmenu-qt/qt-5.4.nix { };
libdc1394 = callPackage ../development/libraries/libdc1394 { };
libdc1394 = callPackage ../development/libraries/libdc1394 {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
libdc1394avt = callPackage ../development/libraries/libdc1394avt { };