Unverified Commit e05baacd authored by Nikolay Korotkiy's avatar Nikolay Korotkiy Committed by GitHub
Browse files

mapproxy: 2.2.0 -> 3.0.1 (#338741)

parents fdfb5c47 d47fe12b
Loading
Loading
Loading
Loading
+24 −14
Original line number Diff line number Diff line
{ lib
, python3
, fetchPypi
{
  lib,
  python3,
  fetchFromGitHub,
}:

with python3.pkgs;
buildPythonApplication rec {
  pname = "MapProxy";
  version = "2.2.0";
  src = fetchPypi {
  inherit pname version;
  hash = "sha256-2FEgfdo8i/R5lU0G514zJcaIRe8y60Vm0jHOBEaoEwI=";
  pname = "mapproxy";
  version = "3.0.1";

  src = fetchFromGitHub {
    owner = "mapproxy";
    repo = "mapproxy";
    rev = version;
    hash = "sha256-74hUJIy1+DaKjUsCgd4+2MdMPGqqDUuHDrhBCFNn8Dk=";
  };

  prePatch = ''
    substituteInPlace mapproxy/util/ext/serving.py --replace "args = [sys.executable] + sys.argv" "args = sys.argv"
  '';
  propagatedBuildInputs = [

  dependencies = [
    boto3 # needed for caches service
    future
    jsonschema
    pillow
    pyyaml
    pyproj
@@ -23,6 +31,7 @@ buildPythonApplication rec {
    gdal
    lxml
    setuptools
    werkzeug
  ];
  # Tests are disabled:
  # 1) Dependency list is huge.
@@ -32,10 +41,11 @@ buildPythonApplication rec {
  #    https://github.com/NixOS/nixpkgs/issues/33876
  #    https://github.com/NixOS/nixpkgs/pull/56480
  doCheck = false;
  meta = with lib; {

  meta = {
    description = "Open source proxy for geospatial data";
    homepage = "https://mapproxy.org/";
  license = licenses.asl20;
  maintainers = with maintainers; [ rakesh4g ];
    license = lib.licenses.asl20;
    maintainers = lib.teams.geospatial.members ++ (with lib.maintainers; [ rakesh4g ]);
  };
}
+0 −2
Original line number Diff line number Diff line
@@ -25965,8 +25965,6 @@ with pkgs;
  fit-trackee = callPackage ../servers/geospatial/fit-trackee { };
  mapproxy = callPackage ../servers/geospatial/mapproxy { };
  martin = callPackage ../servers/geospatial/martin {
    inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
  };