commit 2ced94270b4c71d5237041277036a041c9d57189 parent f87cd2fe81164e5c7a8cbe25bf295f95d8e70059 Author: Nikolay Korotkiy <sikmir@disroot.org> Date: Tue, 21 Jun 2022 13:38:35 +0300 Add deegree Diffstat:
M | pkgs/default.nix | | | 1 | + |
A | pkgs/geospatial/deegree/default.nix | | | 26 | ++++++++++++++++++++++++++ |
2 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -166,6 +166,7 @@ lib.makeScope newScope ( c2cwsgiutils = callPackage ./geospatial/c2cwsgiutils { }; cogeo-mosaic = callPackage ./geospatial/cogeo-mosaic { }; datamaps = callPackage ./geospatial/datamaps { }; + deegree = callPackage ./geospatial/deegree { }; elevation = callPackage ./geospatial/elevation { click = click-6-7; }; diff --git a/pkgs/geospatial/deegree/default.nix b/pkgs/geospatial/deegree/default.nix @@ -0,0 +1,26 @@ +{ lib, stdenv, fetchurl }: + +stdenv.mkDerivation rec { + pname = "deegree"; + version = "3.4.31"; + + src = fetchurl { + url = "https://repo.deegree.org/content/repositories/public/org/deegree/deegree-webservices/${version}/deegree-webservices-${version}.war"; + hash = "sha256-CUmn+bAyaUARlJuwVJ2AMRqj/fejVjHtYnbYCUAOeYQ="; + }; + + buildCommand = '' + mkdir -p "$out/webapps" + cp "$src" "$out/webapps/deegree.war" + ''; + + meta = with lib; { + description = "Open source software for spatial data infrastructures and the geospatial web"; + homepage = "https://www.deegree.org/"; + sourceProvenance = with sourceTypes; [ binaryBytecode ]; + license = licenses.lgpl2Plus; + platforms = platforms.all; + maintainers = with maintainers; [ sikmir ]; + skip.ci = true; + }; +}