lol
1{stdenv, fetchurl, qt4, exiv2, openexr, fftwSinglePrec, libtiff, ilmbase }:
2
3stdenv.mkDerivation rec {
4 name = "qtpfsgui-1.9.3";
5
6 src = fetchurl {
7 url = "mirror://sourceforge/qtpfsgui/${name}.tar.gz";
8 sha256 = "1mlg9dry4mfnnjlnwsw375hzsiagssdhccfmapx5nh6ykqrslsh1";
9 };
10
11 buildInputs = [ qt4 exiv2 openexr fftwSinglePrec libtiff ];
12
13 configurePhase = ''
14 export CPATH="${ilmbase}/include/OpenEXR:$CPATH"
15 qmake PREFIX=$out EXIV2PATH=${exiv2}/include/exiv2 \
16 OPENEXRDIR=${openexr}/include/OpenEXR \
17 FFTW3DIR=${fftwSinglePrec}/include \
18 LIBTIFFDIR=${libtiff}/include
19 '';
20
21 meta = {
22 homepage = http://qtpfsgui.sourceforge.net/;
23 description = "Qtpfsqui, a graphical application for high dynamic range (HDR) imaging";
24
25 longDescription =
26 '' Qtpfsgui is an open source graphical user interface application that
27 aims to provide a workflow for high dynamic range (HDR) imaging.
28 '';
29
30 license = stdenv.lib.licenses.gpl2Plus;
31
32 maintainers = [ ];
33 platforms = stdenv.lib.platforms.gnu;
34 };
35}