15 buildPythonPackage rec {
19 src = fetchFromGitHub {
22 rev = "v${version}rel";
23 sha256 = "13lw1iwa8hadpvqdgb06nh881l8c17awzvvwbfwblvb9q9s0lnzp";
26 propagatedBuildInputs = [ numpy matplotlib pillow pyproj pyshp six ];
27 buildInputs = [ setuptools pkgs.geos ];
29 # Standard configurePhase from `buildPythonPackage` seems to break the setup.py script
31 export GEOS_DIR=${pkgs.geos}
34 # The 'check' target is not supported by the `setup.py` script.
35 # TODO : do the post install checks (`cd examples && ${python.interpreter} run_all.py`)
39 homepage = "https://matplotlib.org/basemap/";
40 description = "Plot data on map projections with matplotlib";
42 An add-on toolkit for matplotlib that lets you plot data on map projections with
43 coastlines, lakes, rivers and political boundaries. See
44 http://matplotlib.github.com/basemap/users/examples.html for examples of what it can do.
46 license = with licenses; [ mit gpl2 ];
47 broken = pythonAtLeast "3.9";