1 # DO *NOT* MODIFY THE LINES CONTAINING "hash = ..." OR "version = ...".
2 # THEY ARE GENERATED. SEE ./update.sh.
3 { fetchzip, libjpeg, netcdf, pkgs, stdenv }:
6 mkGeoserverExtension = { name, version, hash, buildInputs ? [ ] }: stdenv.mkDerivation {
7 pname = "geoserver-${name}-extension";
8 inherit buildInputs version;
11 url = "mirror://sourceforge/geoserver/GeoServer/${version}/extensions/geoserver-${version}-${name}-plugin.zip";
13 # We expect several files.
20 DIR=$out/share/geoserver/webapps/geoserver/WEB-INF/lib
30 app-schema = mkGeoserverExtension {
32 version = "2.25.3"; # app-schema
33 hash = "sha256-IvcJAu62wXAh5OQkG3cTUB/X7dc/2q6Le7GSwfJL/sA="; # app-schema
36 authkey = mkGeoserverExtension {
38 version = "2.25.3"; # authkey
39 hash = "sha256-4tEu9JOomMN/ntDHLqEwrn9lPrJ4LjTM/VuMsjARbF0="; # authkey
42 cas = mkGeoserverExtension {
44 version = "2.25.3"; # cas
45 hash = "sha256-Am8tgF5APKuTa7XI7aI9Oq9jAiDPfJhGCXErtyPpDS8="; # cas
48 charts = mkGeoserverExtension {
50 version = "2.25.3"; # charts
51 hash = "sha256-0Vu9ldBYWe4vFQ6ftEO/WsmNz3Sf3W8iPS7t9W/+5fY="; # charts
54 control-flow = mkGeoserverExtension {
55 name = "control-flow";
56 version = "2.25.3"; # control-flow
57 hash = "sha256-zH+Hz7SySKRdrrmMBukXkaCziszIwOqzSmGYXWZGxs4="; # control-flow
60 css = mkGeoserverExtension {
62 version = "2.25.3"; # css
63 hash = "sha256-c3VDxTGZebGCPfYhwUyENoGiDmVa1zttJEi/879RPsc="; # css
66 csw = mkGeoserverExtension {
68 version = "2.25.3"; # csw
69 hash = "sha256-8G7GY5n0bV/xvwUkTijHLnsXBD4MczIastdeGmFcfSc="; # csw
72 csw-iso = mkGeoserverExtension {
74 version = "2.25.3"; # csw-iso
75 hash = "sha256-cSY981K9QiY3YJJR1zBCQArJESZO+80oIa/uj+qTsTM="; # csw-iso
78 db2 = mkGeoserverExtension {
80 version = "2.25.3"; # db2
81 hash = "sha256-0eRiLoPIWv5Bddi9RxRkxAVMSolZCpv1kKEK7FkQrXs="; # db2
84 # Needs wps extension.
85 dxf = mkGeoserverExtension {
87 version = "2.25.3"; # dxf
88 hash = "sha256-0i2F9343IhN6LZMdTj/dSP5k5QXd7Si/8ZWbxmkcdD4="; # dxf
91 excel = mkGeoserverExtension {
93 version = "2.25.3"; # excel
94 hash = "sha256-N7OCXq1HRwV1poPImct7T9ZWdbWWYprSBMarGXx33OI="; # excel
97 feature-pregeneralized = mkGeoserverExtension {
98 name = "feature-pregeneralized";
99 version = "2.25.3"; # feature-pregeneralized
100 hash = "sha256-R1jv7GPT3f7D18gQoWcLXqhtULtUvA3wEeXC2Q0+eQg="; # feature-pregeneralized
103 # Note: The extension name ("gdal") clashes with pkgs.gdal.
104 gdal = mkGeoserverExtension {
106 version = "2.25.3"; # gdal
107 buildInputs = [ pkgs.gdal ];
108 hash = "sha256-n6B/FHpul29MTYuBsg0XNfTTANBXw/cSEolzIabhHA8="; # gdal
111 # Throws "java.io.FileNotFoundException: URL [jar:file:/nix/store/.../WEB-INF/lib/gs-geofence-server-2.24.1.jar!/geofence-default-override.properties] cannot be resolved to absolute file path because it does not reside in the file system: jar:file:/nix/store/.../WEB-INF/lib/gs-geofence-server-2.24.1.jar!/geofence-default-override.properties" but seems to work out of the box.
112 #geofence = mkGeoserverExtension {
114 # version = "2.25.3"; # geofence
115 # hash = "sha256-298rEz0JmFhXxfv0tpdsDOrFLyS7GcuFwp/tX/m+SyI="; # geofence
118 #geofence-server = mkGeoserverExtension {
119 # name = "geofence-server";
120 # version = "2.25.3"; # geofence-server
121 # hash = "sha256-PHP6OmulBbUJ1Q7qliYXX6fAA2C8q4h4i7qCXJpVUCQ="; # geofence-server
124 #geofence-wps = mkGeoserverExtension {
125 # name = "geofence-wps";
126 # version = "2.25.3"; # geofence-wps
127 # hash = "sha256-vH7gQsjfAEcpcM+JVRfbw5sH4eJz+051FBrmoS7MyYo="; # geofence-wps
130 geopkg-output = mkGeoserverExtension {
131 name = "geopkg-output";
132 version = "2.25.3"; # geopkg-output
133 hash = "sha256-frcNjS+phsyuRo4PlmcSUu2Ylp3kHA8OYm+WCBAU/UI="; # geopkg-output
136 grib = mkGeoserverExtension {
138 version = "2.25.3"; # grib
139 hash = "sha256-uQ7xe3sokrE89QTfTLynHSHE0W6LmiICO3XKkWKEJBU="; # grib
140 buildInputs = [ netcdf ];
143 gwc-s3 = mkGeoserverExtension {
145 version = "2.25.3"; # gwc-s3
146 hash = "sha256-1cc3JywXaCCQUojnTVYmkq9Gz5Y1atBJmd0GDhyGAIE="; # gwc-s3
149 h2 = mkGeoserverExtension {
151 version = "2.25.3"; # h2
152 hash = "sha256-Cp/3qrjNSKztAaMrxPoZo2YfGBEezLQp6/ZGOehkixM="; # h2
155 iau = mkGeoserverExtension {
157 version = "2.25.3"; # iau
158 hash = "sha256-MV/XYF61rQjuOJSU6n0ADauFYJGF0cZk4lMSoHs9drg="; # iau
161 importer = mkGeoserverExtension {
163 version = "2.25.3"; # importer
164 hash = "sha256-T6PGv3zfiwA8DE2XZ2CusaQ0vRGZ75mO4nxONsCQU+g="; # importer
167 inspire = mkGeoserverExtension {
169 version = "2.25.3"; # inspire
170 hash = "sha256-A4BBd0Q8NVjPLI6e8HTCg5zd4QOLQ6Ho3/2hnRXCeTM="; # inspire
173 # Needs Kakadu plugin from
174 # https://github.com/geosolutions-it/imageio-ext
175 #jp2k = mkGeoserverExtension {
177 # version = "2.25.3"; # jp2k
178 # hash = "sha256-0df5vPLYqxPAxqINwdWZ5RRJQVm/79sUcj8fB4RwMKY="; # jp2k
181 libjpeg-turbo = mkGeoserverExtension {
182 name = "libjpeg-turbo";
183 version = "2.25.3"; # libjpeg-turbo
184 hash = "sha256-vQjeYuB6JY+bMlxRXZ7HqgS2hEtmEJJvowfwhWmYkY4="; # libjpeg-turbo
185 buildInputs = [ libjpeg.out ];
188 mapml = mkGeoserverExtension {
190 version = "2.25.3"; # mapml
191 hash = "sha256-3BMCWeAFn52Uiob53eer5OqBLOgQaMTmHPFTLs51mEg="; # mapml
194 mbstyle = mkGeoserverExtension {
196 version = "2.25.3"; # mbstyle
197 hash = "sha256-SJAI4ssMZZL75gx1h7gwf+4YwXP/CNEm9BTtA/JNRW4="; # mbstyle
200 metadata = mkGeoserverExtension {
202 version = "2.25.3"; # metadata
203 hash = "sha256-Gst1cctv/oKTS+jD0y8fHFrEBJyn77fEafV+QzspQVc="; # metadata
206 mongodb = mkGeoserverExtension {
208 version = "2.25.3"; # mongodb
209 hash = "sha256-LVejtipIRZy3g5GKs8RkOqKHNRskf8YSD11fiFvBF3w="; # mongodb
212 monitor = mkGeoserverExtension {
214 version = "2.25.3"; # monitor
215 hash = "sha256-+FlKgoESE0j6JXM0yozYMyz6U2TshYNd6WHsKg9frAs="; # monitor
218 mysql = mkGeoserverExtension {
220 version = "2.25.3"; # mysql
221 hash = "sha256-gfU67lID2YSNbi1aB8m1b+zGqtVnChi56HrtcBE6Aqw="; # mysql
224 netcdf = mkGeoserverExtension {
226 version = "2.25.3"; # netcdf
227 hash = "sha256-aMykYIBMwH46apDudKnApNba454Yep5HZeYPqEXoqcI="; # netcdf
228 buildInputs = [ netcdf ];
231 netcdf-out = mkGeoserverExtension {
233 version = "2.25.3"; # netcdf-out
234 hash = "sha256-3gGzgC7IbwpettwSf4+b8HeJRuvkUfDu0xre9wyVap4="; # netcdf-out
235 buildInputs = [ netcdf ];
238 ogr-wfs = mkGeoserverExtension {
240 version = "2.25.3"; # ogr-wfs
241 buildInputs = [ pkgs.gdal ];
242 hash = "sha256-4rcUvN1py62JMQy51rxvNfV2AQIptXuRen7tvbrno6s="; # ogr-wfs
245 # Needs ogr-wfs extension.
246 ogr-wps = mkGeoserverExtension {
248 version = "2.25.3"; # ogr-wps
249 # buildInputs = [ pkgs.gdal ];
250 hash = "sha256-RA1dxzjhOt7lQCu6SVSM8HiXYwtFbUfj0hdk831QE5g="; # ogr-wps
253 oracle = mkGeoserverExtension {
255 version = "2.25.3"; # oracle
256 hash = "sha256-fKJwLh4T445da1AWPzFpp++LGWiiKhN339VWt1N0s5Q="; # oracle
259 params-extractor = mkGeoserverExtension {
260 name = "params-extractor";
261 version = "2.25.3"; # params-extractor
262 hash = "sha256-zO9OwH7NCUILnxRqz1z/QJdfgsx9gfpf2R7rIsgTIr8="; # params-extractor
265 printing = mkGeoserverExtension {
267 version = "2.25.3"; # printing
268 hash = "sha256-QAy53/p+/mjCTXreKsVSRcpYgfAs7W9f+ZwE4Z6Gnx8="; # printing
271 pyramid = mkGeoserverExtension {
273 version = "2.25.3"; # pyramid
274 hash = "sha256-kFTNQrxibatVZzPSC6Rv/SzU3FUJYQJ3dHZ5AfR3kD8="; # pyramid
277 querylayer = mkGeoserverExtension {
279 version = "2.25.3"; # querylayer
280 hash = "sha256-TgQiroYcnVCe5QVIcEa8gsgYELqM2jS7RveGyetWokU="; # querylayer
283 sldservice = mkGeoserverExtension {
285 version = "2.25.3"; # sldservice
286 hash = "sha256-5E410iNaZVEBKzRGSBcW3JNISap2NrcFtXAuP1+cVt0="; # sldservice
289 sqlserver = mkGeoserverExtension {
291 version = "2.25.3"; # sqlserver
292 hash = "sha256-TNeyegWOz/a7uFsn1hBhOgpV0vnFncwQ+U9VqyY62+g="; # sqlserver
295 vectortiles = mkGeoserverExtension {
296 name = "vectortiles";
297 version = "2.25.3"; # vectortiles
298 hash = "sha256-RQGeGhfixKrwRuzgmkZ/JDWaPZyDy8fAfGe0iXZfKdY="; # vectortiles
301 wcs2_0-eo = mkGeoserverExtension {
303 version = "2.25.3"; # wcs2_0-eo
304 hash = "sha256-+li0zBzyHaq0an7qHAdSXKDpvpOZProHnCoHXjyVY7Y="; # wcs2_0-eo
307 web-resource = mkGeoserverExtension {
308 name = "web-resource";
309 version = "2.25.3"; # web-resource
310 hash = "sha256-m9+t3Q2yD+xqvuBvkc5jYWwtGqJit00xiHyDSLX8euE="; # web-resource
313 wmts-multi-dimensional = mkGeoserverExtension {
314 name = "wmts-multi-dimensional";
315 version = "2.25.3"; # wmts-multi-dimensional
316 hash = "sha256-b/16463iotuADA/bIwTutYCiRZYusMf/yB1xEMPZe9U="; # wmts-multi-dimensional
319 wps = mkGeoserverExtension {
321 version = "2.25.3"; # wps
322 hash = "sha256-4WqZqfc80Qy3AACOb3MhDjocM02vKUEk9x8YfX5onyg="; # wps
325 # Needs hazelcast (https://github.com/hazelcast/hazelcast (?)) which is not
326 # available in nixpgs as of 2024/01.
327 #wps-cluster-hazelcast = mkGeoserverExtension {
328 # name = "wps-cluster-hazelcast";
329 # version = "2.25.3"; # wps-cluster-hazelcast
330 # hash = "sha256-EDSSNVCZdcmv8ZfB3Gj80xm/ghlWNZwpTYhEwIoegM0="; # wps-cluster-hazelcast
333 wps-download = mkGeoserverExtension {
334 name = "wps-download";
335 version = "2.25.3"; # wps-download
336 hash = "sha256-70vw5PHh1hLLAocFKlzPKDZWMjQmwUbv/L4yCJGrDQ4="; # wps-download
339 # Needs Postrgres configuration or similar.
340 # See https://docs.geoserver.org/main/en/user/extensions/wps-jdbc/index.html
341 wps-jdbc = mkGeoserverExtension {
343 version = "2.25.3"; # wps-jdbc
344 hash = "sha256-5d+txy1gw36G7hXfOf5qH+bSPIRw3XeLeMCTw6yHp/M="; # wps-jdbc
347 ysld = mkGeoserverExtension {
349 version = "2.25.3"; # ysld
350 hash = "sha256-lbjfJPv9v4HUV31Hp5ZAEOe7IceRCxN7xtUxvOi2CYU="; # ysld