Skip to content

Commit 4dd3ede

Browse files
committed
python312Packages.pygmt: modernize
1 parent bab178e commit 4dd3ede

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pkgs/development/python-modules/pygmt/default.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ buildPythonPackage rec {
2121
version = "0.14.0";
2222
pyproject = true;
2323

24-
disabled = pythonOlder "3.9";
24+
disabled = pythonOlder "3.11";
2525

2626
src = fetchFromGitHub {
2727
owner = "GenericMappingTools";
@@ -35,9 +35,9 @@ buildPythonPackage rec {
3535
--replace-fail "env.get(\"GMT_LIBRARY_PATH\")" "env.get(\"GMT_LIBRARY_PATH\", \"${gmt}/lib\")"
3636
'';
3737

38-
nativeBuildInputs = [ setuptools-scm ];
38+
build-system = [ setuptools-scm ];
3939

40-
propagatedBuildInputs = [
40+
dependencies = [
4141
numpy
4242
netcdf4
4343
pandas
@@ -61,11 +61,11 @@ buildPythonPackage rec {
6161

6262
pythonImportsCheck = [ "pygmt" ];
6363

64-
meta = with lib; {
64+
meta = {
6565
description = "Python interface for the Generic Mapping Tools";
6666
homepage = "https://github.com/GenericMappingTools/pygmt";
67-
license = licenses.bsd3;
67+
license = lib.licenses.bsd3;
6868
changelog = "https://github.com/GenericMappingTools/pygmt/releases/tag/v${version}";
69-
maintainers = with maintainers; teams.geospatial.members;
69+
maintainers = lib.teams.geospatial.members;
7070
};
7171
}

0 commit comments

Comments
 (0)