2017-03-15 21:15:42 +00:00
|
|
|
{ stdenv, fetchurl, libraw1394,
|
|
|
|
libusb1, CoreServices }:
|
2012-05-03 07:38:58 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-03-15 21:15:42 +00:00
|
|
|
name = "libdc1394-${version}";
|
|
|
|
version = "2.2.5";
|
2012-05-03 07:38:58 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/libdc1394/${name}.tar.gz";
|
2017-03-15 21:15:42 +00:00
|
|
|
sha256 = "0drk4sqvaym9glaraia25mj60rmwqbhy4j9h3x7gqpzfib8ch31m";
|
2012-05-03 07:38:58 +00:00
|
|
|
};
|
|
|
|
|
2015-03-05 20:51:24 +00:00
|
|
|
buildInputs = [ libusb1 ]
|
2015-11-11 21:53:41 +00:00
|
|
|
++ stdenv.lib.optional stdenv.isLinux libraw1394
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin CoreServices;
|
2012-05-03 07:38:58 +00:00
|
|
|
|
2017-03-15 21:15:42 +00:00
|
|
|
meta = with stdenv.lib; {
|
2012-05-03 07:38:58 +00:00
|
|
|
homepage = http://sourceforge.net/projects/libdc1394/;
|
|
|
|
description = "Capture and control API for IIDC compliant cameras";
|
2017-03-15 21:15:42 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = [ maintainers.viric ];
|
|
|
|
platforms = platforms.unix;
|
2012-05-03 07:38:58 +00:00
|
|
|
};
|
|
|
|
}
|