depot/third_party/nixpkgs/pkgs/development/python-modules/mercantile/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

28 lines
639 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub
, click
, pytestCheckHook
, hypothesis
}:
buildPythonPackage rec {
pname = "mercantile";
version = "1.2.1";
src = fetchFromGitHub {
owner = "mapbox";
repo = pname;
rev = version;
sha256 = "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 ];
};
}