mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
gdal: fix build with latest hdf5 version
This commit is contained in:
parent
e18cf4f3cb
commit
6997f6739f
|
@ -2,6 +2,7 @@
|
|||
, stdenv
|
||||
, callPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
|
||||
, useMinimalFeatures ? false
|
||||
, useTiledb ? (!useMinimalFeatures) && !(stdenv.isDarwin && stdenv.isx86_64)
|
||||
|
@ -88,6 +89,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
hash = "sha256-xEekgF9GzsPYkwk7Nny9b1DMLTxBqTSdudYxaz4jl/c=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# HDF5: add support for libhdf5 >= 1.14.4.2 when built with Float16
|
||||
(fetchpatch {
|
||||
url = "https://github.com/OSGeo/gdal/commit/16ade8253f26200246abb5ab24d17e18216e7a11.patch";
|
||||
sha256 = "sha256-N6YqfcOUWeaJXVE9RUo1dzulxqIY5Q/UygPnZHau3Lc=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
bison
|
||||
cmake
|
||||
|
|
Loading…
Reference in a new issue