depot/third_party/nixpkgs/pkgs/development/octave-modules/mapping/default.nix

34 lines
670 B
Nix

{
buildOctavePackage,
lib,
fetchurl,
io, # >= 2.2.7
geometry, # >= 4.0.0
gdal,
}:
buildOctavePackage rec {
pname = "mapping";
version = "1.4.2";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "sha256-mrUQWqC15Ul5AHDvhMlNStqIMG2Zxa+hB2vDyeizLaI=";
};
buildInputs = [
gdal
];
requiredOctavePackages = [
io
geometry
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/mapping/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Simple mapping and GIS .shp .dxf and raster file functions";
};
}