2021-01-06 17:19:17 +00:00
|
|
|
{ buildOctavePackage
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, io # >= 2.2.7
|
|
|
|
, geometry # >= 4.0.0
|
2022-12-23 17:05:53 +00:00
|
|
|
, gdal
|
2021-01-06 17:19:17 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildOctavePackage rec {
|
|
|
|
pname = "mapping";
|
2022-12-23 16:48:21 +00:00
|
|
|
version = "1.4.2";
|
2021-01-06 17:19:17 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
2022-12-23 16:48:21 +00:00
|
|
|
sha256 = "sha256-mrUQWqC15Ul5AHDvhMlNStqIMG2Zxa+hB2vDyeizLaI=";
|
2021-01-06 17:19:17 +00:00
|
|
|
};
|
|
|
|
|
2022-12-23 17:05:53 +00:00
|
|
|
buildInputs = [
|
|
|
|
gdal
|
|
|
|
];
|
|
|
|
|
2021-01-06 17:19:17 +00:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|