eccodes: build with openjpeg

It did not look for openjpeg-2.3 and was built without openjpeg support.
This commit is contained in:
Orivej Desh 2018-10-25 17:44:19 +00:00
parent d09961c22b
commit 62ce2bb42a

View File

@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
sha256 = "1mh9zkfb5dj3j8fk3gdhz2bp6z13nik5pmynpf5l6qy3lhgyn17z";
};
postPatch = ''
substituteInPlace cmake/FindOpenJPEG.cmake --replace openjpeg-2.1 ${openjpeg.incDir}
'';
nativeBuildInputs = [ cmake ];
buildInputs = [ netcdf