10 stdenv.mkDerivation rec {
15 url = "mirror://sourceforge/libdc1394/${pname}-${version}.tar.gz";
16 sha256 = "sha256-U3zreN087ycaGD9KF2GR0c7PhfAlUg5r03WLDhnmYJ8=";
20 # "sorry, unimplemented: __builtin_clear_padding not supported for variable length aggregates"
26 ++ lib.optional stdenv.hostPlatform.isLinux libraw1394
27 ++ lib.optional stdenv.hostPlatform.isDarwin CoreServices;
30 description = "Capture and control API for IIDC compliant cameras";
31 homepage = "https://sourceforge.net/projects/libdc1394/";
32 license = licenses.lgpl21Plus;
34 mainProgram = "dc1394_reset_bus";
35 platforms = platforms.unix;