Skip to content

Commit

Permalink
python312Packages.pygmt: 0.13.0 -> 0.14.0 (NixOS#372710)
Browse files Browse the repository at this point in the history
  • Loading branch information
sikmir authored Jan 10, 2025
2 parents 3f14b85 + 4dd3ede commit 251804c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkgs/development/python-modules/pygmt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,26 @@

buildPythonPackage rec {
pname = "pygmt";
version = "0.13.0";
version = "0.14.0";
pyproject = true;

disabled = pythonOlder "3.9";
disabled = pythonOlder "3.11";

src = fetchFromGitHub {
owner = "GenericMappingTools";
repo = "pygmt";
tag = "v${version}";
hash = "sha256-DO9KUlmt5EV+ioOSQ/BOcx4pP409f94dzmFwqK2MwMY=";
hash = "sha256-8dzZuv9feiRyh3l8wV6+gYvc6N+yQnabgSbvw4ig+GY=";
};

postPatch = ''
substituteInPlace pygmt/clib/loading.py \
--replace-fail "env.get(\"GMT_LIBRARY_PATH\")" "env.get(\"GMT_LIBRARY_PATH\", \"${gmt}/lib\")"
'';

nativeBuildInputs = [ setuptools-scm ];
build-system = [ setuptools-scm ];

propagatedBuildInputs = [
dependencies = [
numpy
netcdf4
pandas
Expand All @@ -61,11 +61,11 @@ buildPythonPackage rec {

pythonImportsCheck = [ "pygmt" ];

meta = with lib; {
meta = {
description = "Python interface for the Generic Mapping Tools";
homepage = "https://github.com/GenericMappingTools/pygmt";
license = licenses.bsd3;
license = lib.licenses.bsd3;
changelog = "https://github.com/GenericMappingTools/pygmt/releases/tag/v${version}";
maintainers = with maintainers; teams.geospatial.members;
maintainers = lib.teams.geospatial.members;
};
}

0 comments on commit 251804c

Please sign in to comment.