nixpkgs/pkgs/development/libraries/libdc1394/default.nix
R. RyanTM afaad7f1cd libdc1394: 2.2.5 -> 2.2.6
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/libdc1394/versions
2019-05-21 18:41:43 -07:00

27 lines
777 B
Nix

{ stdenv, fetchurl, libraw1394,
libusb1, CoreServices }:
stdenv.mkDerivation rec {
name = "libdc1394-${version}";
version = "2.2.6";
src = fetchurl {
url = "mirror://sourceforge/libdc1394/${name}.tar.gz";
sha256 = "1v8gq54n1pg8izn7s15yylwjf8r1l1dmzbm2yvf6pv2fmb4mz41b";
};
buildInputs = [ libusb1 ]
++ stdenv.lib.optional stdenv.isLinux libraw1394
++ stdenv.lib.optional stdenv.isDarwin CoreServices;
patches = stdenv.lib.optional stdenv.isDarwin ./darwin-fixes.patch;
meta = with stdenv.lib; {
homepage = https://sourceforge.net/projects/libdc1394/;
description = "Capture and control API for IIDC compliant cameras";
license = licenses.lgpl21Plus;
maintainers = [ maintainers.viric ];
platforms = platforms.unix;
};
}