nixpkgs/pkgs/development/libraries/libdc1394/default.nix

25 lines
707 B
Nix
Raw Normal View History

{ stdenv, fetchurl, libraw1394
, libusb1, CoreServices }:
stdenv.mkDerivation rec {
2017-03-15 21:15:42 +00:00
name = "libdc1394-${version}";
version = "2.2.6";
src = fetchurl {
url = "mirror://sourceforge/libdc1394/${name}.tar.gz";
sha256 = "1v8gq54n1pg8izn7s15yylwjf8r1l1dmzbm2yvf6pv2fmb4mz41b";
};
2015-03-05 20:51:24 +00:00
buildInputs = [ libusb1 ]
++ stdenv.lib.optional stdenv.isLinux libraw1394
++ stdenv.lib.optional stdenv.isDarwin CoreServices;
2017-03-15 21:15:42 +00:00
meta = with stdenv.lib; {
homepage = https://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;
};
}