nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit f87cd2fe81164e5c7a8cbe25bf295f95d8e70059
parent f134523779079eeecf7a58b7a770af0a2c9f27c4
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Tue, 21 Jun 2022 13:28:06 +0300

Add geowebcache

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/geospatial/geowebcache/default.nix | 28++++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -171,6 +171,7 @@ lib.makeScope newScope ( }; geographiclib = callPackage ./geospatial/geographiclib { }; geojson-pydantic = callPackage ./geospatial/geojson-pydantic { }; + geowebcache = callPackage ./geospatial/geowebcache { }; go-pmtiles = callPackage ./geospatial/go-pmtiles { }; go-staticmaps = callPackage ./geospatial/go-staticmaps { }; hecate = callPackage ./geospatial/hecate { diff --git a/pkgs/geospatial/geowebcache/default.nix b/pkgs/geospatial/geowebcache/default.nix @@ -0,0 +1,28 @@ +{ lib, stdenv, fetchurl, unzip }: + +stdenv.mkDerivation rec { + pname = "geowebcache"; + version = "1.21.0"; + + src = fetchurl { + url = "mirror://sourceforge/geowebcache/geowebcache/${version}/geowebcache-${version}-war.zip"; + hash = "sha256-hiXXlBC6fNLR/+N18qPN5kzwsnbWMIE9kkEn2Y8qIVo="; + }; + + nativeBuildInputs = [ unzip ]; + + buildCommand = '' + mkdir -p "$out/webapps" + cp "$src" "$out/webapps/geowebcache.war" + ''; + + meta = with lib; { + description = "Tile caching server implemented in Java"; + homepage = "https://www.geowebcache.org"; + sourceProvenance = with sourceTypes; [ binaryBytecode ]; + license = licenses.lgpl3Plus; + platforms = platforms.all; + maintainers = with maintainers; [ sikmir ]; + skip.ci = true; + }; +}