2010-01-16 21:26:10 +00:00
|
|
|
{ stdenv, fetchurl, cmake, gtk, glib, libjpeg, libpng, libtiff, jasper, ffmpeg, pkgconfig,
|
|
|
|
xineLib, gstreamer }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-04-20 15:09:56 +00:00
|
|
|
name = "opencv-2.1.0";
|
2010-01-16 21:26:10 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-04-20 15:09:56 +00:00
|
|
|
url = "mirror://sourceforge/opencvlibrary/OpenCV-2.1.0.tar.bz2";
|
|
|
|
sha256 = "0zrr24hr64gz35qb95nsvvbmdf89biglpy9z14y5kaxh5baiy1i6";
|
2010-01-16 21:26:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake gtk glib libjpeg libpng libtiff jasper ffmpeg pkgconfig
|
|
|
|
xineLib gstreamer ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Open Computer Vision Library with more than 500 algorithms";
|
|
|
|
homepage = http://opencv.willowgarage.com/;
|
|
|
|
license = "BSD";
|
2010-07-14 07:50:06 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2010-01-16 21:26:10 +00:00
|
|
|
};
|
|
|
|
}
|