depot/third_party/nixpkgs/pkgs/development/python-modules/basemap-data-hires/default.nix

31 lines
591 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
setuptools,
basemap,
}:
buildPythonPackage rec {
pname = "basemap-data-hires";
pyproject = true;
inherit (basemap) version src;
sourceRoot = "${src.name}/packages/basemap_data_hires";
build-system = [
setuptools
];
# no tests
doCheck = false;
pythonImportsCheck = [ "mpl_toolkits.basemap_data" ];
meta = {
homepage = "https://matplotlib.org/basemap/";
description = "High-resolution data assets for matplotlib basemap";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ moraxyc ];
};
}