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