cataract: use imagemagick6

This commit is contained in:
Robert Schütz 2021-02-22 16:00:30 +01:00
parent 9872e4a892
commit b8f50e15fe

View File

@ -5,7 +5,7 @@
, pkg-config , pkg-config
, libxml2 , libxml2
, exiv2 , exiv2
, imagemagick , imagemagick6
, version , version
, sha256 , sha256
, rev }: , rev }:
@ -20,7 +20,7 @@ stdenv.mkDerivation {
}; };
nativeBuildInputs = [ autoreconfHook pkg-config ]; nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ glib libxml2 exiv2 imagemagick ]; buildInputs = [ glib libxml2 exiv2 imagemagick6 ];
prePatch = '' prePatch = ''
sed -i 's|#include <exiv2/exif.hpp>|#include <exiv2/exiv2.hpp>|' src/jpeg-utils.cpp sed -i 's|#include <exiv2/exif.hpp>|#include <exiv2/exiv2.hpp>|' src/jpeg-utils.cpp