File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
pkgs/development/libraries/gdal Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
{ lib
2
+ , gcc11Stdenv
2
3
, stdenv
3
4
, callPackage
4
5
, fetchFromGitHub
77
78
, zlib
78
79
, zstd
79
80
} :
80
-
81
+ let
82
+ stdenv = gcc11Stdenv ;
83
+ in
81
84
stdenv . mkDerivation ( finalAttrs : {
82
85
pname = "gdal" + lib . optionalString useMinimalFeatures "-minimal" ;
83
- version = "3.9.2" ;
86
+ version = "3.8.0" ;
87
+
88
+ stdenv = gcc11Stdenv ;
84
89
85
90
src = fetchFromGitHub {
86
91
owner = "OSGeo" ;
87
92
repo = "gdal" ;
88
93
rev = "v${ finalAttrs . version } " ;
89
- hash = "sha256-BXnpNfi9tUd6nnwYdstuOfGsFVif8kkmkW97X1UAgt8 =" ;
94
+ hash = "sha256-Yu4cXSWSdh9HH/a5LA90/K3RRH1oQA9QMMa8heGLcAw =" ;
90
95
} ;
91
96
92
97
patches = [
@@ -112,6 +117,7 @@ stdenv.mkDerivation (finalAttrs: {
112
117
] ++ lib . optionals useJava [ ant jdk ] ;
113
118
114
119
cmakeFlags = [
120
+ "-DCMAKE_CXX_FLAGS=-fpermissive"
115
121
"-DGDAL_USE_INTERNAL_LIBS=OFF"
116
122
"-DGEOTIFF_INCLUDE_DIR=${ lib . getDev libgeotiff } /include"
117
123
"-DGEOTIFF_LIBRARY_RELEASE=${ lib . getLib libgeotiff } /lib/libgeotiff${ stdenv . hostPlatform . extensions . sharedLibrary } "
You can’t perform that action at this time.
0 commit comments