2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, expat, zlib, geos, libspatialite }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-09-25 04:45:31 +00:00
|
|
|
name = "readosm-1.1.0a";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.gaia-gis.it/gaia-sins/readosm-sources/${name}.tar.gz";
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "0igif2bxf4dr82glxz9gyx5mmni0r2dsnx9p9k6pxv3c4lfhaz6v";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ expat zlib geos libspatialite ];
|
|
|
|
|
|
|
|
configureFlags = [ "--disable-freexl" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An open source library to extract valid data from within an Open Street Map input file";
|
|
|
|
homepage = "https://www.gaia-gis.it/fossil/readosm";
|
|
|
|
license = with stdenv.lib.licenses; [ mpl11 gpl2Plus lgpl21Plus ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|