python3Packages.morecantile: init at 5.3.0

This commit is contained in:
Nikolay Korotkiy 2024-05-18 16:11:45 +04:00
parent 6443d510fc
commit 167be2d771
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5
2 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,54 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
attrs,
click,
flit,
mercantile,
pydantic,
pyproj,
rasterio,
}:
buildPythonPackage rec {
pname = "morecantile";
version = "5.3.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "developmentseed";
repo = "morecantile";
rev = version;
hash = "sha256-F7xYQrOngoRsZjmS6ZHRGN0/GD53AYcMQzyY1LZ1O7I=";
};
nativeBuildInputs = [ flit ];
propagatedBuildInputs = [
attrs
click
pydantic
pyproj
];
nativeCheckInputs = [
mercantile
pytestCheckHook
rasterio
];
pythonImportsCheck = [ "morecantile" ];
meta = {
description = "Construct and use map tile grids in different projection";
homepage = "https://developmentseed.org/morecantile/";
license = lib.licenses.mit;
maintainers = lib.teams.geospatial.members;
mainProgram = "morecantile";
};
}

View File

@ -7671,6 +7671,8 @@ self: super: with self; {
more-properties = callPackage ../development/python-modules/more-properties { };
morecantile = callPackage ../development/python-modules/morecantile { };
moreorless = callPackage ../development/python-modules/moreorless { };
moretools = callPackage ../development/python-modules/moretools { };