default.nix (830B)
1 { 2 lib, 3 stdenv, 4 fetchurl, 5 }: 6 7 stdenv.mkDerivation (finalAttrs: { 8 pname = "deegree"; 9 version = "3.5.8"; 10 11 src = fetchurl { 12 url = "https://repo.deegree.org/content/repositories/public/org/deegree/deegree-webservices/${finalAttrs.version}/deegree-webservices-${finalAttrs.version}.war"; 13 hash = "sha256-b652Cz9gXgXqcFQHCuM+zr3IP4i1hflLhLYsz9c2n2s="; 14 }; 15 16 buildCommand = '' 17 mkdir -p "$out/webapps" 18 cp "$src" "$out/webapps/deegree.war" 19 ''; 20 21 meta = { 22 description = "Open source software for spatial data infrastructures and the geospatial web"; 23 homepage = "https://www.deegree.org/"; 24 sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; 25 license = lib.licenses.lgpl2Plus; 26 platforms = lib.platforms.all; 27 maintainers = [ lib.maintainers.sikmir ]; 28 skip.ci = true; 29 }; 30 })