mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
f9fdf2d402
with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists in env cause a eval failure
35 lines
946 B
Nix
35 lines
946 B
Nix
{ lib, mkDerivation, cmake, fetchFromGitHub, pkg-config
|
|
, boost, exiv2, fftwFloat, gsl
|
|
, ilmbase, lcms2, libraw, libtiff, openexr
|
|
, qtbase, qtdeclarative, qttools, qtwebengine, eigen
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "luminance-hdr";
|
|
version = "2.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "LuminanceHDR";
|
|
repo = "LuminanceHDR";
|
|
rev = "v.${version}";
|
|
sha256 = "1izmgjjp8mgyxv57sjjr05z7g7059ykb5wchlcn4wrnnb6aslnvn";
|
|
};
|
|
|
|
env.NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
|
|
|
|
buildInputs = [
|
|
qtbase qtdeclarative qttools qtwebengine eigen
|
|
boost exiv2 fftwFloat gsl ilmbase lcms2 libraw libtiff openexr
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://qtpfsgui.sourceforge.net/";
|
|
description = "A complete open source solution for HDR photography";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.hrdinka ];
|
|
};
|
|
}
|