1 { lib, stdenv, fetchurl, libraw1394
2 , libusb1, CoreServices }:
4 stdenv.mkDerivation rec {
9 url = "mirror://sourceforge/libdc1394/${pname}-${version}.tar.gz";
10 sha256 = "1v8gq54n1pg8izn7s15yylwjf8r1l1dmzbm2yvf6pv2fmb4mz41b";
13 buildInputs = [ libusb1 ]
14 ++ lib.optional stdenv.isLinux libraw1394
15 ++ lib.optional stdenv.isDarwin CoreServices;
18 description = "Capture and control API for IIDC compliant cameras";
19 homepage = "https://sourceforge.net/projects/libdc1394/";
20 license = licenses.lgpl21Plus;
21 maintainers = [ maintainers.viric ];
22 mainProgram = "dc1394_reset_bus";
23 platforms = platforms.unix;