Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 60 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ lib, stdenv, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder,
attrs, click, flit, mercantile, pydantic, pyproj, rasterio,}:
buildPythonPackage rec { pname = "morecantile"; version = "6.2.0"; pyproject = true; disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "developmentseed"; repo = "morecantile"; tag = version; hash = "sha256-ohTSgkjgaANS/Pli4fao+THA4ltts6svj5CdJEgorz0="; };
nativeBuildInputs = [ flit ];
propagatedBuildInputs = [ attrs click pydantic pyproj ];
nativeCheckInputs = [ mercantile pytestCheckHook rasterio ];
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ # https://github.com/developmentseed/morecantile/issues/156 "test_tiles_when_tms_bounds_and_provided_bounds_cross_antimeridian" ];
pythonImportsCheck = [ "morecantile" ];
meta = { description = "Construct and use map tile grids in different projection"; homepage = "https://developmentseed.org/morecantile/"; license = lib.licenses.mit; teams = [ lib.teams.geospatial ]; mainProgram = "morecantile"; };}