{
  lib,
  buildPythonPackage,
  basemap,
}:

buildPythonPackage rec {
  pname = "basemap-data";
  format = "setuptools";
  inherit (basemap) version src;

  sourceRoot = "${src.name}/packages/basemap_data";

  # no tests
  doCheck = false;

  pythonImportsCheck = [ "mpl_toolkits.basemap_data" ];

  meta = with lib; {
    homepage = "https://matplotlib.org/basemap/";
    description = "Data assets for matplotlib basemap";
    license = with licenses; [
      mit
      lgpl3Plus
    ];
    maintainers = [ ];
  };
}
