luminanceHDR: add patch for exiv2 0.28

This commit is contained in:
Weijia Wang 2023-09-30 12:41:45 +02:00
parent d90e8fdfb7
commit a1e37157f4

View file

@ -1,4 +1,4 @@
{ lib, mkDerivation, cmake, fetchFromGitHub, pkg-config
{ lib, mkDerivation, cmake, fetchFromGitHub, fetchpatch, pkg-config
, boost, exiv2, fftwFloat, gsl
, ilmbase, lcms2, libraw, libtiff, openexr
, qtbase, qtdeclarative, qttools, qtwebengine, eigen
@ -15,6 +15,14 @@ mkDerivation rec {
sha256 = "sha256-PWqtYGx8drfMVp7D7MzN1sIUTQ+Xz5yyeHN87p2r6PY=";
};
patches = [
(fetchpatch {
name = "exiv2-0.28.patch";
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/luminancehdr/-/raw/2e4a7321c7d20a52da104f4aa4dc76ac7224d94b/exiv2-0.28.patch";
hash = "sha256-Hj+lqAd5VuTjmip8Po7YiGOWWDxnu4IMXOiEFBukXpk=";
})
];
env.NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
buildInputs = [