2020-04-05 16:13:59 +01:00
|
|
|
{ stdenv, mkDerivation, cmake, fetchFromGitHub, pkgconfig
|
|
|
|
, boost, exiv2, fftwFloat, gsl
|
2014-07-10 12:29:36 +01:00
|
|
|
, ilmbase, lcms2, libraw, libtiff, openexr
|
2019-06-27 04:15:26 +01:00
|
|
|
, qtbase, qtdeclarative, qttools, qtwebengine, eigen
|
2014-07-10 12:29:36 +01:00
|
|
|
}:
|
|
|
|
|
2020-04-05 16:13:59 +01:00
|
|
|
mkDerivation rec {
|
2019-06-27 04:15:26 +01:00
|
|
|
pname = "luminance-hdr";
|
|
|
|
version = "2.6.0";
|
2014-07-10 12:29:36 +01:00
|
|
|
|
2019-06-27 04:15:26 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LuminanceHDR";
|
|
|
|
repo = "LuminanceHDR";
|
|
|
|
rev = "v.${version}";
|
|
|
|
sha256 = "1izmgjjp8mgyxv57sjjr05z7g7059ykb5wchlcn4wrnnb6aslnvn";
|
2014-07-10 12:29:36 +01:00
|
|
|
};
|
|
|
|
|
2016-09-01 17:11:21 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
|
2014-07-10 12:29:36 +01:00
|
|
|
|
2019-06-27 04:15:26 +01:00
|
|
|
buildInputs = [
|
|
|
|
qtbase qtdeclarative qttools qtwebengine eigen
|
|
|
|
boost exiv2 fftwFloat gsl ilmbase lcms2 libraw libtiff openexr
|
|
|
|
];
|
2014-07-10 12:29:36 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://qtpfsgui.sourceforge.net/";
|
2014-07-10 12:29:36 +01:00
|
|
|
description = "A complete open source solution for HDR photography";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.hrdinka ];
|
|
|
|
};
|
|
|
|
}
|