python3Packages.morecantile: init at 5.3.0
This commit is contained in:
parent
6443d510fc
commit
167be2d771
54
pkgs/development/python-modules/morecantile/default.nix
Normal file
54
pkgs/development/python-modules/morecantile/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in New Issue
Block a user