2011-09-21 00:49:07 +02:00
|
|
|
{stdenv, fetchurl, libtiff, openexr, imagemagick, libjpeg, qt4, mesa,
|
|
|
|
freeglut, bzip2, libX11, libpng, expat, pkgconfig }:
|
2009-04-05 23:41:13 +02:00
|
|
|
|
2011-09-21 00:49:07 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pfstools-1.8.3";
|
2009-04-05 23:41:13 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-09-21 00:49:07 +02:00
|
|
|
url = "mirror://sourceforge/pfstools/${name}.tar.gz";
|
|
|
|
sha256 = "1j3pzwpxvsx9220176bfjallc73jyda61xqkvnmlxqfd3n7ycgx1";
|
2009-04-05 23:41:13 +02:00
|
|
|
};
|
|
|
|
|
2011-09-21 00:49:07 +02:00
|
|
|
configureFlags = "--with-moc=${qt4}/bin/moc";
|
|
|
|
|
|
|
|
buildInputs = [ libtiff openexr imagemagick libjpeg qt4 mesa freeglut
|
2009-04-05 23:41:13 +02:00
|
|
|
bzip2 libX11 libpng expat ];
|
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2011-09-21 00:49:07 +02:00
|
|
|
|
2009-04-05 23:41:13 +02:00
|
|
|
meta = {
|
|
|
|
homepage = http://pfstools.sourceforge.net/;
|
|
|
|
description = "Toolkit for manipulation of HDR images";
|
|
|
|
license = "GPL";
|
|
|
|
};
|
|
|
|
}
|