2009-01-12 21:12:07 +00:00
|
|
|
{ stdenv, fetchurl, unzip, cmake, libtiff, expat, zlib, libpng, libjpeg }:
|
|
|
|
stdenv.mkDerivation {
|
2009-10-01 21:18:17 +01:00
|
|
|
name = "vxl-1.13.0";
|
2009-01-12 21:12:07 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-10-01 21:18:17 +01:00
|
|
|
url = mirror://sourceforge/vxl/vxl-1.13.0.zip;
|
|
|
|
sha256 = "05xk9dfkqsznp1dic8rcsdhgdp12bikwx1zpci0w3s20fs8q8nn1";
|
2009-01-12 21:12:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake unzip libtiff expat zlib libpng libjpeg ];
|
|
|
|
|
2009-03-13 16:46:10 +00:00
|
|
|
cmakeFlags = if (stdenv.system == "x86_64-linux") then
|
|
|
|
"-DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_C_FLAGS=-fPIC"
|
|
|
|
else
|
|
|
|
"";
|
|
|
|
|
|
|
|
|
2009-01-12 21:12:07 +00:00
|
|
|
meta = {
|
|
|
|
description = "C++ Libraries for Computer Vision Research and Implementation";
|
|
|
|
homepage = http://vxl.sourceforge.net/;
|
|
|
|
license = "VXL License";
|
2009-10-01 21:18:17 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2009-01-12 21:12:07 +00:00
|
|
|
};
|
|
|
|
}
|