504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
29 lines
662 B
Nix
29 lines
662 B
Nix
{ lib, buildPythonPackage, fetchFromGitHub
|
|
, click
|
|
, pytestCheckHook
|
|
, hypothesis
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mercantile";
|
|
version = "1.2.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mapbox";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-DiDXO2XnD3We6NhP81z7aIHzHrHDi/nkqy98OT9986w=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ click ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook hypothesis ];
|
|
|
|
meta = with lib; {
|
|
description = "Spherical mercator tile and coordinate utilities";
|
|
homepage = "https://github.com/mapbox/mercantile";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ sikmir ];
|
|
};
|
|
}
|