1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/development/libraries/libdc1394avt/default.nix
2014-07-28 11:31:14 +02:00

30 lines
858 B
Nix

{ stdenv, fetchurl, libraw1394, libusb1, pkgconfig }:
stdenv.mkDerivation rec {
name = "libdc1394avt-2.1.2";
src = fetchurl {
url = http://www.alliedvisiontec.com/fileadmin/content/PDF/Software/AVT_software/zip_files/AVTFire4Linux3v0.src.tar;
sha256 = "13fz3apxcv2rkb34hxd48lbhss6vagp9h96f55148l4mlf5iyyfv";
};
unpackPhase = ''
tar xf $src
BIGTAR=`echo *`
tar xf */libdc1394*.tar.gz
rm -R $BIGTAR
cd libd*
'';
buildInputs = [ libraw1394 libusb1 pkgconfig ];
meta = {
homepage = http://www.alliedvisiontec.com/us/products/software/linux/avt-fire4linux.html;
description = "Capture and control API for IIDC cameras with AVT extensions";
license = stdenv.lib.licenses.lgpl21Plus;
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.linux;
broken = true;
};
}