2024-09-23 07:39:04 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchurl,
|
|
|
|
}:
|
2020-05-24 00:24:21 +00:00
|
|
|
|
2024-09-23 07:39:04 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-08-24 07:58:16 +00:00
|
|
|
pname = "gshhg-gmt";
|
2020-05-24 00:24:21 +00:00
|
|
|
version = "2.3.7";
|
|
|
|
src = fetchurl {
|
2024-09-23 07:39:04 +00:00
|
|
|
url = "ftp://ftp.soest.hawaii.edu/gmt/gshhg-gmt-${finalAttrs.version}.tar.gz";
|
2020-05-24 00:24:21 +00:00
|
|
|
sha256 = "9bb1a956fca0718c083bef842e625797535a00ce81f175df08b042c2a92cfe7f";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/gshhg-gmt
|
|
|
|
cp -rv ./* $out/share/gshhg-gmt
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-05-24 00:24:21 +00:00
|
|
|
homepage = "https://www.soest.hawaii.edu/pwessel/gshhg/";
|
|
|
|
description = "High-resolution shoreline data set, for use with GMT";
|
|
|
|
longDescription = ''
|
|
|
|
GSHHG is a high-resolution shoreline data set amalgamated from two
|
|
|
|
databases: Global Self-consistent Hierarchical High-resolution Shorelines
|
|
|
|
(GSHHS) and CIA World Data Bank II (WDBII). GSHHG contains vector
|
|
|
|
descriptions at five different resolutions of land outlines, lakes,
|
|
|
|
rivers, and political boundaries. This data is for use by GMT, the Generic
|
|
|
|
Mapping Tools.
|
|
|
|
'';
|
|
|
|
license = licenses.lgpl3Plus;
|
2024-09-26 10:27:41 +00:00
|
|
|
maintainers = lib.teams.geospatial.members ++ (with lib.maintainers; [ tviti ]);
|
2020-05-24 00:24:21 +00:00
|
|
|
};
|
|
|
|
|
2024-09-23 07:39:04 +00:00
|
|
|
})
|