9 maven.buildMavenPackage rec {
13 src = fetchFromGitHub {
17 hash = "sha256-F/tMRD+nWn/fRPX7cTan371zlOTxh7oR98wREmokULo=";
20 mvnHash = "sha256-6EX+y7/lGdB5LgW9MIER+KgvtPjvMCDjgq89f1g2GlY=";
21 mvnParameters = "compile assembly:single -Dmaven.test.skip=true";
23 nativeBuildInputs = [ makeWrapper ];
28 mkdir -p $out/{bin,lib}
29 cp target/gol-tool-${version}-jar-with-dependencies.jar $out/lib/gol-tool.jar
31 makeWrapper ${jre}/bin/java $out/bin/gol \
32 --add-flags "-cp $out/lib/gol-tool.jar" \
33 --add-flags "com.geodesk.gol.GolTool"
39 description = "Command-line utility for creating and managing Geographic Object Libraries";
41 Use the GOL command-line utility to:
42 - build and maintain Geographic Object Libraries (GeoDesk's compact database format for OpenStreetMap features)
43 - perform GOQL queries and export the results in a variety of formats.
45 homepage = "https://docs.geodesk.com/gol";
46 license = licenses.agpl3Only;
47 maintainers = [ maintainers.starsep ];
48 platforms = platforms.all;