1 { lib, stdenv, fetchurl, libraw1394
2 , libusb1, CoreServices }:
4 stdenv.mkDerivation rec {
9 url = "mirror://sourceforge/libdc1394/${pname}-${version}.tar.gz";
10 sha256 = "sha256-U3zreN087ycaGD9KF2GR0c7PhfAlUg5r03WLDhnmYJ8=";
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;