2015-11-11 22:53:41 +01:00
|
|
|
{ stdenv, fetchurl, libraw1394, libusb1
|
|
|
|
, CoreServices
|
|
|
|
}:
|
2012-05-03 09:38:58 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-10-07 21:19:18 +02:00
|
|
|
name = "libdc1394-2.2.3";
|
2012-05-03 09:38:58 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/libdc1394/${name}.tar.gz";
|
2014-10-07 21:19:18 +02:00
|
|
|
sha256 = "1p9b4ciy97s04gmp7656cybr1zfd79hlw0ffhfb52m3zcn07h6aa";
|
2012-05-03 09:38:58 +02:00
|
|
|
};
|
|
|
|
|
2015-03-05 21:51:24 +01:00
|
|
|
buildInputs = [ libusb1 ]
|
2015-11-11 22:53:41 +01:00
|
|
|
++ stdenv.lib.optional stdenv.isLinux libraw1394
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin CoreServices;
|
2012-05-03 09:38:58 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://sourceforge.net/projects/libdc1394/;
|
|
|
|
description = "Capture and control API for IIDC compliant cameras";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
2012-05-03 09:38:58 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.viric ];
|
2015-03-05 21:51:24 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2012-05-03 09:38:58 +02:00
|
|
|
};
|
|
|
|
}
|