diff options
author | Nikolay Korotkiy | 2024-09-02 20:36:34 +0400 |
---|---|---|
committer | GitHub | 2024-09-02 20:36:34 +0400 |
commit | e05baacd435b765ffb57f36df0b292c0a266820b (patch) | |
tree | eefad3f00cfb1eeca60b7f4a3ceb8478f0c2296d /pkgs/by-name | |
parent | fdfb5c47731fcb5e815dcfd2ed1bc39de7da0790 (diff) | |
parent | d47fe12b69909831ae289175352721815cf4f18d (diff) |
mapproxy: 2.2.0 -> 3.0.1 (#338741)
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/ma/mapproxy/package.nix | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/pkgs/by-name/ma/mapproxy/package.nix b/pkgs/by-name/ma/mapproxy/package.nix new file mode 100644 index 000000000000..ef39151c0104 --- /dev/null +++ b/pkgs/by-name/ma/mapproxy/package.nix @@ -0,0 +1,51 @@ +{ + lib, + python3, + fetchFromGitHub, +}: + +with python3.pkgs; +buildPythonApplication rec { + 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" + ''; + + dependencies = [ + boto3 # needed for caches service + future + jsonschema + pillow + pyyaml + pyproj + shapely + gdal + lxml + setuptools + werkzeug + ]; + # Tests are disabled: + # 1) Dependency list is huge. + # https://github.com/mapproxy/mapproxy/blob/master/requirements-tests.txt + # + # 2) There are security issues with package Riak + # https://github.com/NixOS/nixpkgs/issues/33876 + # https://github.com/NixOS/nixpkgs/pull/56480 + doCheck = false; + + meta = { + description = "Open source proxy for geospatial data"; + homepage = "https://mapproxy.org/"; + license = lib.licenses.asl20; + maintainers = lib.teams.geospatial.members ++ (with lib.maintainers; [ rakesh4g ]); + }; +} |