Skip to content

Commit 8d82852

Browse files
committed
geoserver: modernize
1 parent e648389 commit 8d82852

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

pkgs/by-name/ge/geoserver/package.nix

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,7 @@ stdenv.mkDerivation (finalAttrs: {
1717
hash = "sha256-7IrnznWa5NI/2gFHVTRQ0IerOkodStbr0aGpKPpeLQk=";
1818
};
1919

20-
sourceRoot = "source";
21-
22-
unpackPhase = ''
23-
runHook preUnpack
24-
unzip $src -d "$sourceRoot"
25-
runHook postUnpack
26-
'';
20+
sourceRoot = ".";
2721

2822
patches = [
2923
# set GEOSERVER_DATA_DIR to current working directory if not provided
@@ -92,12 +86,12 @@ stdenv.mkDerivation (finalAttrs: {
9286
updateScript = ./update.sh;
9387
};
9488

95-
meta = with lib; {
89+
meta = {
9690
description = "Open source server for sharing geospatial data";
9791
homepage = "https://geoserver.org/";
98-
sourceProvenance = with sourceTypes; [ binaryBytecode ];
99-
license = licenses.gpl2Plus;
100-
teams = [ teams.geospatial ];
101-
platforms = platforms.all;
92+
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
93+
license = lib.licenses.gpl2Plus;
94+
teams = [ lib.teams.geospatial ];
95+
platforms = lib.platforms.all;
10296
};
10397
})

0 commit comments

Comments
 (0)