nixpkgs/pkgs/applications/graphics/qtpfsgui/default.nix

42 lines
1.2 KiB
Nix
Raw Normal View History

2016-04-17 00:30:33 +01:00
{stdenv, fetchurl, qt4, qmake4Hook, exiv2, openexr, fftwSinglePrec, libtiff, ilmbase }:
stdenv.mkDerivation rec {
name = "qtpfsgui-1.9.3";
src = fetchurl {
url = "mirror://sourceforge/qtpfsgui/${name}.tar.gz";
sha256 = "1mlg9dry4mfnnjlnwsw375hzsiagssdhccfmapx5nh6ykqrslsh1";
};
buildInputs = [ qt4 exiv2 openexr fftwSinglePrec libtiff ];
2016-04-17 00:30:33 +01:00
nativeBuildInputs = [ qmake4Hook ];
hardeningDisable = [ "format" ];
2016-02-24 21:45:16 +00:00
2016-04-17 00:30:33 +01:00
preConfigure = ''
2016-09-01 17:11:21 +01:00
export CPATH="${ilmbase.dev}/include/OpenEXR:$CPATH"
'';
2016-04-17 00:30:33 +01:00
qmakeFlags = [
"EXIV2PATH=${exiv2.dev}/include/exiv2"
"OPENEXRDIR=${openexr.dev}/include/OpenEXR"
"FFTW3DIR=${fftwSinglePrec.dev}/include"
"LIBTIFFDIR=${libtiff.dev}/include"
2016-04-17 00:30:33 +01:00
];
meta = {
homepage = http://qtpfsgui.sourceforge.net/;
description = "Qtpfsqui, a graphical application for high dynamic range (HDR) imaging";
longDescription =
'' Qtpfsgui is an open source graphical user interface application that
aims to provide a workflow for high dynamic range (HDR) imaging.
'';
license = stdenv.lib.licenses.gpl2Plus;
2015-01-13 21:33:24 +00:00
maintainers = [ ];
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
};
}