1 { buildPythonPackage, lib, fetchPypi, fetchpatch
2 , pytestCheckHook, filelock, mock, pep8
4 , six, pyshp, shapely, geos, numpy
5 , gdal, pillow, matplotlib, pyepsg, pykdtree, scipy, owslib, fiona
9 buildPythonPackage rec {
16 sha256 = "0d24fk0cbp29gmkysrwq05vry13swmwi3vx3cpcy04c0ixz33ykz";
20 # Fix numpy-1.20 compatibility. Will be part of 0.19.
22 url = "https://github.com/SciTools/cartopy/commit/e663bbbef07989a5f8484a8f36ea9c07e61d14ce.patch";
23 sha256 = "061kbjgzkc3apaz6sxy00pkgy3n9dxcgps5wzj4rglb5iy86n2kq";
31 propagatedBuildInputs = [
33 six pyshp shapely numpy
36 gdal pillow matplotlib pyepsg pykdtree scipy fiona owslib
39 checkInputs = [ pytestCheckHook filelock mock pep8 ];
43 "-m" "'not network and not natural_earth'"
47 "test_nightshade_image"
53 geos # for geos-config
58 description = "Process geospatial data to create maps and perform analyses";
59 license = licenses.lgpl3;
60 homepage = "https://scitools.org.uk/cartopy/docs/latest/";
61 maintainers = with maintainers; [ mredaelli ];