pythonPackages.mercantile: init at 1.2.1
This commit is contained in:
parent
fc2e0709f0
commit
e0dbeb0334
2 changed files with 30 additions and 0 deletions
28
pkgs/development/python-modules/mercantile/default.nix
Normal file
28
pkgs/development/python-modules/mercantile/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ 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 ];
|
||||
|
||||
checkInputs = [ 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 ];
|
||||
};
|
||||
}
|
|
@ -4169,6 +4169,8 @@ in {
|
|||
|
||||
memory_profiler = callPackage ../development/python-modules/memory_profiler { };
|
||||
|
||||
mercantile = callPackage ../development/python-modules/mercantile { };
|
||||
|
||||
mercurial = toPythonModule (pkgs.mercurial.override {
|
||||
python3Packages = self;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue