02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
35 lines
628 B
Nix
35 lines
628 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonAtLeast
|
|
, basemap
|
|
, cython
|
|
, geos
|
|
, numpy
|
|
, matplotlib
|
|
, pyproj
|
|
, pyshp
|
|
, python
|
|
, setuptools
|
|
}:
|
|
|
|
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 = with maintainers; [ ];
|
|
};
|
|
}
|