Files
nixpkgs/pkgs/by-name/dc/dcw-gmt/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

45 lines
1.4 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "dcw-gmt";
version = "2.2.0";
src = fetchFromGitHub {
owner = "GenericMappingTools";
repo = "dcw-gmt";
tag = finalAttrs.version;
hash = "sha256-OgFonNbhvzRfQZksnwIbgASbMGnL0bmD4wkXZBl3kIU=";
};
installPhase = ''
mkdir -p $out/share/dcw-gmt
cp -rv ./* $out/share/dcw-gmt
'';
meta = with lib; {
homepage = "https://github.com/GenericMappingTools/dcw-gmt";
description = "Vector basemap of the world, for use with GMT";
longDescription = ''
The Digital Chart of the World is a comprehensive 1:1,000,000 scale vector
basemap of the world. The charts were designed to meet the needs of pilots
and air crews in medium- and low-altitude en route navigation and to
support military operational planning, intelligence briefings, and other
needs. For basic background information about DCW, see the [Wikipedia
entry](http://en.wikipedia.org/wiki/Digital_Chart_of_the_World).
DCW-GMT is an enhancement to DCW in a few ways:
- It contains more state boundaries (the largest 8 countries, Great Britain and Norway are now represented).
- The data have been reformatted to save space and are distributed as a single deflated netCDF-4 file.
'';
license = licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ tviti ];
teams = [ lib.teams.geospatial ];
};
})