2017-12-15 15:45:30 +00:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig
|
2018-02-24 13:12:44 +00:00
|
|
|
, openexr, zlib, imagemagick, libGLU_combined, freeglut, fftwFloat
|
2019-02-01 16:07:52 +00:00
|
|
|
, fftw, gsl, libexif, perl, opencv, qt5
|
2017-12-15 15:45:30 +00:00
|
|
|
}:
|
2009-04-05 21:41:13 +00:00
|
|
|
|
2011-09-20 22:49:07 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2017-12-15 15:45:30 +00:00
|
|
|
pname = "pfstools";
|
|
|
|
version = "2.1.0";
|
2009-04-05 21:41:13 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tgz";
|
2017-12-15 15:45:30 +00:00
|
|
|
sha256 = "04rlb705gmdiphcybf9dyr0d5lla2cfs3c308zz37x0vwi445six";
|
2009-04-05 21:41:13 +00:00
|
|
|
};
|
|
|
|
|
2017-07-11 09:14:14 +00:00
|
|
|
outputs = [ "out" "dev" "man"];
|
2011-09-20 22:49:07 +00:00
|
|
|
|
2016-07-22 17:17:18 +00:00
|
|
|
cmakeFlags = ''
|
|
|
|
-DWITH_MATLAB=false
|
|
|
|
'';
|
2009-04-05 21:41:13 +00:00
|
|
|
|
2016-07-22 17:17:18 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2017-12-15 15:45:30 +00:00
|
|
|
buildInputs = [
|
2018-02-24 13:12:44 +00:00
|
|
|
openexr zlib imagemagick libGLU_combined freeglut fftwFloat
|
2019-02-01 16:07:52 +00:00
|
|
|
fftw gsl libexif perl opencv qt5.qtbase
|
2017-12-15 15:45:30 +00:00
|
|
|
];
|
2016-07-22 17:17:18 +00:00
|
|
|
|
|
|
|
patches = [ ./threads.patch ./pfstools.patch ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = http://pfstools.sourceforge.net/;
|
2009-04-05 21:41:13 +00:00
|
|
|
description = "Toolkit for manipulation of HDR images";
|
2016-07-22 17:17:18 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = [ maintainers.juliendehos ];
|
2009-04-05 21:41:13 +00:00
|
|
|
};
|
|
|
|
}
|