default.nix (806B)
1 { 2 lib, 3 stdenv, 4 fetchurl, 5 unzip, 6 }: 7 8 stdenv.mkDerivation (finalAttrs: { 9 pname = "geowebcache"; 10 version = "1.26.0"; 11 12 src = fetchurl { 13 url = "mirror://sourceforge/geowebcache/geowebcache/${finalAttrs.version}/geowebcache-${finalAttrs.version}-war.zip"; 14 hash = "sha256-HcMc7wS21SCNoecA7xZXStevC+OCxeSXTBLWHK89C5M="; 15 }; 16 17 nativeBuildInputs = [ unzip ]; 18 19 buildCommand = '' 20 mkdir -p "$out/webapps" 21 cp "$src" "$out/webapps/geowebcache.war" 22 ''; 23 24 meta = { 25 description = "Tile caching server implemented in Java"; 26 homepage = "https://geowebcache.osgeo.org"; 27 sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; 28 license = lib.licenses.lgpl3Plus; 29 platforms = lib.platforms.all; 30 maintainers = [ lib.maintainers.sikmir ]; 31 skip.ci = true; 32 }; 33 })