2022-08-12 12:06:08 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pythonAtLeast
|
|
|
|
, basemap
|
|
|
|
, cython
|
|
|
|
, geos
|
|
|
|
, numpy
|
|
|
|
, matplotlib
|
|
|
|
, pyproj
|
|
|
|
, pyshp
|
|
|
|
, python
|
|
|
|
, setuptools
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "basemap-data";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-08-12 12:06:08 +00:00
|
|
|
inherit (basemap) version src;
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
sourceRoot = "${src.name}/packages/basemap_data";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
# 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 = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|