Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 61 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, buildPythonPackage, fetchFromGitHub,
# build-system hatchling,
# dependencies attrs, click, pydantic, pyproj,
# tests mercantile, rasterio, pytestCheckHook, versionCheckHook,}:
buildPythonPackage rec { pname = "morecantile"; version = "7.0.3"; pyproject = true;
src = fetchFromGitHub { owner = "developmentseed"; repo = "morecantile"; tag = version; hash = "sha256-Hx4duNbTuRfOmNBLN9J6/6URe57aPc8+3SJA7rbW5zs="; };
build-system = [ hatchling ];
dependencies = [ attrs click pydantic pyproj ];
nativeCheckInputs = [ mercantile pytestCheckHook rasterio versionCheckHook ];
pythonImportsCheck = [ "morecantile" ];
meta = { description = "Construct and use map tile grids in different projection"; homepage = "https://developmentseed.org/morecantile"; downloadPage = "https://github.com/developmentseed/morecantile"; changelog = "https://github.com/developmentseed/morecantile/releases/tag/${src.tag}"; license = lib.licenses.mit; teams = [ lib.teams.geospatial ]; mainProgram = "morecantile"; };}