at 23.05-pre 25 lines 733 B view raw
1{ lib, stdenv, fetchurl, libraw1394 2, libusb1, CoreServices }: 3 4stdenv.mkDerivation rec { 5 pname = "libdc1394"; 6 version = "2.2.6"; 7 8 src = fetchurl { 9 url = "mirror://sourceforge/libdc1394/${pname}-${version}.tar.gz"; 10 sha256 = "1v8gq54n1pg8izn7s15yylwjf8r1l1dmzbm2yvf6pv2fmb4mz41b"; 11 }; 12 13 buildInputs = [ libusb1 ] 14 ++ lib.optional stdenv.isLinux libraw1394 15 ++ lib.optional stdenv.isDarwin CoreServices; 16 17 meta = with lib; { 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; 24 }; 25}