mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
geoserver: modernize
This commit is contained in:
parent
e64838938a
commit
8d8285253b
1 changed files with 6 additions and 12 deletions
|
@ -17,13 +17,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
hash = "sha256-7IrnznWa5NI/2gFHVTRQ0IerOkodStbr0aGpKPpeLQk=";
|
hash = "sha256-7IrnznWa5NI/2gFHVTRQ0IerOkodStbr0aGpKPpeLQk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "source";
|
sourceRoot = ".";
|
||||||
|
|
||||||
unpackPhase = ''
|
|
||||||
runHook preUnpack
|
|
||||||
unzip $src -d "$sourceRoot"
|
|
||||||
runHook postUnpack
|
|
||||||
'';
|
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# set GEOSERVER_DATA_DIR to current working directory if not provided
|
# set GEOSERVER_DATA_DIR to current working directory if not provided
|
||||||
|
@ -92,12 +86,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
updateScript = ./update.sh;
|
updateScript = ./update.sh;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Open source server for sharing geospatial data";
|
description = "Open source server for sharing geospatial data";
|
||||||
homepage = "https://geoserver.org/";
|
homepage = "https://geoserver.org/";
|
||||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
|
||||||
license = licenses.gpl2Plus;
|
license = lib.licenses.gpl2Plus;
|
||||||
teams = [ teams.geospatial ];
|
teams = [ lib.teams.geospatial ];
|
||||||
platforms = platforms.all;
|
platforms = lib.platforms.all;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue