2016-07-22 19:17:18 +02:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig, openexr, ilmbase, zlib, imagemagick, mesa, freeglut, fftwFloat, fftw, gsl, libexif, perl, opencv, qt4 }:
|
2009-04-05 23:41:13 +02:00
|
|
|
|
2011-09-21 00:49:07 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2016-07-22 19:17:18 +02:00
|
|
|
name = "pfstools";
|
|
|
|
version = "2.0.5";
|
2009-04-05 23:41:13 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-07-22 19:17:18 +02:00
|
|
|
url = "mirror://sourceforge/${name}/${version}/${name}-${version}.tgz";
|
|
|
|
sha256 = "1fyc2c7jzr7k797c2dqyyvapzc3szxwcp48r382yxz2yq558xgd9";
|
2009-04-05 23:41:13 +02:00
|
|
|
};
|
|
|
|
|
2016-08-29 02:30:01 +02:00
|
|
|
outputs = [ "out" "dev" "doc"];
|
2011-09-21 00:49:07 +02:00
|
|
|
|
2016-07-22 19:17:18 +02:00
|
|
|
cmakeFlags = ''
|
|
|
|
-DWITH_MATLAB=false
|
|
|
|
'';
|
2009-04-05 23:41:13 +02:00
|
|
|
|
2016-07-22 19:17:18 +02:00
|
|
|
buildInputs = [ openexr zlib imagemagick mesa freeglut fftwFloat fftw gsl libexif perl opencv qt4 ];
|
2011-09-21 00:49:07 +02:00
|
|
|
|
2016-07-22 19:17:18 +02:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
|
|
|
patches = [ ./threads.patch ./pfstools.patch ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "http://pfstools.sourceforge.net/";
|
2009-04-05 23:41:13 +02:00
|
|
|
description = "Toolkit for manipulation of HDR images";
|
2016-07-22 19:17:18 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = [ maintainers.juliendehos ];
|
2009-04-05 23:41:13 +02:00
|
|
|
};
|
|
|
|
}
|