eccodes: build with openjpeg
It did not look for openjpeg-2.3 and was built without openjpeg support.
This commit is contained in:
parent
d09961c22b
commit
62ce2bb42a
@ -3,7 +3,7 @@
|
|||||||
, enablePython ? false, pythonPackages
|
, enablePython ? false, pythonPackages
|
||||||
, enablePosixThreads ? false
|
, enablePosixThreads ? false
|
||||||
, enableOpenMPThreads ? false}:
|
, enableOpenMPThreads ? false}:
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "eccodes-${version}";
|
name = "eccodes-${version}";
|
||||||
version = "2.9.0";
|
version = "2.9.0";
|
||||||
@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1mh9zkfb5dj3j8fk3gdhz2bp6z13nik5pmynpf5l6qy3lhgyn17z";
|
sha256 = "1mh9zkfb5dj3j8fk3gdhz2bp6z13nik5pmynpf5l6qy3lhgyn17z";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace cmake/FindOpenJPEG.cmake --replace openjpeg-2.1 ${openjpeg.incDir}
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
buildInputs = [ netcdf
|
buildInputs = [ netcdf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user