Merge pull request #178376 from sikmir/geoserver
geoserver: init at 2.21.0
This commit is contained in:
commit
457b6cecb2
2 changed files with 64 additions and 22 deletions
38
pkgs/servers/geospatial/geoserver/default.nix
Normal file
38
pkgs/servers/geospatial/geoserver/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib, stdenv, fetchurl, unzip, jre, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "geoserver";
|
||||
version = "2.21.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/geoserver/GeoServer/${version}/geoserver-${version}-bin.zip";
|
||||
sha256 = "sha256-UCr22Ffhnux6eA0w5qoaf5Hvuypsl/FGpK+emi8G0Mc=";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
nativeBuildInputs = [ unzip makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/geoserver
|
||||
cp -r . $out/share/geoserver
|
||||
rm -fr $out/share/geoserver/bin/*.bat
|
||||
|
||||
makeWrapper $out/share/geoserver/bin/startup.sh $out/bin/geoserver-startup \
|
||||
--set JAVA_HOME "${jre}" \
|
||||
--set GEOSERVER_HOME "$out/share/geoserver"
|
||||
makeWrapper $out/share/geoserver/bin/shutdown.sh $out/bin/geoserver-shutdown \
|
||||
--set JAVA_HOME "${jre}" \
|
||||
--set GEOSERVER_HOME "$out/share/geoserver"
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open source server for sharing geospatial data";
|
||||
homepage = "https://geoserver.org/";
|
||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -7770,14 +7770,6 @@ with pkgs;
|
|||
|
||||
mani = callPackage ../development/tools/mani { };
|
||||
|
||||
mapcache = callPackage ../servers/geospatial/mapcache { };
|
||||
|
||||
mapserver = callPackage ../servers/geospatial/mapserver { };
|
||||
|
||||
martin = callPackage ../servers/geospatial/martin {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
mask = callPackage ../development/tools/mask { };
|
||||
|
||||
mathpix-snipping-tool = callPackage ../tools/misc/mathpix-snipping-tool { };
|
||||
|
@ -10988,8 +10980,6 @@ with pkgs;
|
|||
|
||||
tidy-viewer = callPackage ../tools/text/tidy-viewer { };
|
||||
|
||||
tile38 = callPackage ../servers/geospatial/tile38 { };
|
||||
|
||||
tiled = libsForQt5.callPackage ../applications/editors/tiled { };
|
||||
|
||||
tiledb = callPackage ../development/libraries/tiledb { };
|
||||
|
@ -11604,8 +11594,6 @@ with pkgs;
|
|||
|
||||
td = callPackage ../tools/misc/td { };
|
||||
|
||||
tegola = callPackage ../servers/geospatial/tegola {};
|
||||
|
||||
tftp-hpa = callPackage ../tools/networking/tftp-hpa {};
|
||||
|
||||
tigervnc = callPackage ../tools/admin/tigervnc {};
|
||||
|
@ -13226,10 +13214,6 @@ with pkgs;
|
|||
|
||||
remarkable2-toolchain = callPackage ../development/tools/misc/remarkable/remarkable2-toolchain { };
|
||||
|
||||
t-rex = callPackage ../servers/geospatial/t-rex {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
tacacsplus = callPackage ../servers/tacacsplus { };
|
||||
|
||||
tamarin-prover =
|
||||
|
@ -22121,8 +22105,6 @@ with pkgs;
|
|||
|
||||
mattermost-desktop = callPackage ../applications/networking/instant-messengers/mattermost-desktop { };
|
||||
|
||||
mbtileserver = callPackage ../servers/geospatial/mbtileserver { };
|
||||
|
||||
memcached = callPackage ../servers/memcached {};
|
||||
|
||||
meteor = callPackage ../servers/meteor { };
|
||||
|
@ -22365,10 +22347,6 @@ with pkgs;
|
|||
|
||||
tomcat-native = callPackage ../servers/http/tomcat/tomcat-native.nix { };
|
||||
|
||||
pg_featureserv = callPackage ../servers/geospatial/pg_featureserv { };
|
||||
|
||||
pg_tileserv = callPackage ../servers/geospatial/pg_tileserv { };
|
||||
|
||||
pies = callPackage ../servers/pies { };
|
||||
|
||||
rpcbind = callPackage ../servers/rpcbind { };
|
||||
|
@ -22961,6 +22939,32 @@ with pkgs;
|
|||
|
||||
zipkin = callPackage ../servers/monitoring/zipkin { };
|
||||
|
||||
### SERVERS / GEOSPATIAL
|
||||
|
||||
geoserver = callPackage ../servers/geospatial/geoserver { };
|
||||
|
||||
mapcache = callPackage ../servers/geospatial/mapcache { };
|
||||
|
||||
mapserver = callPackage ../servers/geospatial/mapserver { };
|
||||
|
||||
martin = callPackage ../servers/geospatial/martin {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
mbtileserver = callPackage ../servers/geospatial/mbtileserver { };
|
||||
|
||||
pg_featureserv = callPackage ../servers/geospatial/pg_featureserv { };
|
||||
|
||||
pg_tileserv = callPackage ../servers/geospatial/pg_tileserv { };
|
||||
|
||||
t-rex = callPackage ../servers/geospatial/t-rex {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
tegola = callPackage ../servers/geospatial/tegola { };
|
||||
|
||||
tile38 = callPackage ../servers/geospatial/tile38 { };
|
||||
|
||||
### OS-SPECIFIC
|
||||
|
||||
afuse = callPackage ../os-specific/linux/afuse { };
|
||||
|
|
Loading…
Reference in a new issue