python310Packages.pygmt: equalize

This commit is contained in:
Fabian Affolter 2023-04-05 08:58:41 +02:00 committed by GitHub
parent 4fc52a4ab9
commit 92376558f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{ lib, stdenv
{ lib
, stdenv
, pythonOlder
, buildPythonPackage
, fetchFromGitHub
@ -34,15 +35,35 @@ buildPythonPackage rec {
--replace "env.get(\"GMT_LIBRARY_PATH\", \"\")" "env.get(\"GMT_LIBRARY_PATH\", \"${gmt}/lib\")"
'';
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ numpy netcdf4 pandas packaging xarray ];
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
numpy
netcdf4
pandas
packaging
xarray
];
nativeCheckInputs = [
pytestCheckHook
pytest-mpl
ghostscript
ipython
];
# The *entire* test suite requires network access
doCheck = false;
doCheck = false; # the *entire* test suite requires network access
nativeCheckInputs = [ pytestCheckHook pytest-mpl ghostscript ipython ];
postBuild = ''
export HOME=$TMP
'';
pythonImportsCheck = [ "pygmt" ];
pythonImportsCheck = [
"pygmt"
];
meta = with lib; {
description = "A Python interface for the Generic Mapping Tools";