mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-06 04:27:27 +03:00
gdal: 3.9.0 -> 3.9.1
This commit is contained in:
parent
af796de7d1
commit
59dd391879
@ -2,7 +2,6 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, callPackage
|
, callPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
|
|
||||||
, useMinimalFeatures ? false
|
, useMinimalFeatures ? false
|
||||||
, useTiledb ? (!useMinimalFeatures) && !(stdenv.isDarwin && stdenv.isx86_64)
|
, useTiledb ? (!useMinimalFeatures) && !(stdenv.isDarwin && stdenv.isx86_64)
|
||||||
@ -80,23 +79,15 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "gdal" + lib.optionalString useMinimalFeatures "-minimal";
|
pname = "gdal" + lib.optionalString useMinimalFeatures "-minimal";
|
||||||
version = "3.9.0";
|
version = "3.9.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "OSGeo";
|
owner = "OSGeo";
|
||||||
repo = "gdal";
|
repo = "gdal";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-xEekgF9GzsPYkwk7Nny9b1DMLTxBqTSdudYxaz4jl/c=";
|
hash = "sha256-WCTQHUU2WYYiliwCJ4PsbvJIOar9LmvXn/i5jJzTCtM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
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 = [
|
nativeBuildInputs = [
|
||||||
bison
|
bison
|
||||||
cmake
|
cmake
|
||||||
|
Loading…
Reference in New Issue
Block a user