2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, expat, zlib, geos, libspatialite }:
|
2014-10-18 20:09:42 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-08-29 06:36:00 +01:00
|
|
|
name = "readosm-1.1.0a";
|
2014-10-18 20:09:42 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://www.gaia-gis.it/gaia-sins/readosm-sources/${name}.tar.gz";
|
2020-08-29 06:36:00 +01:00
|
|
|
sha256 = "0igif2bxf4dr82glxz9gyx5mmni0r2dsnx9p9k6pxv3c4lfhaz6v";
|
2014-10-18 20:09:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ expat zlib geos libspatialite ];
|
|
|
|
|
2018-07-25 22:44:21 +01:00
|
|
|
configureFlags = [ "--disable-freexl" ];
|
2014-10-18 20:09:42 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An open source library to extract valid data from within an Open Street Map input file";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.gaia-gis.it/fossil/readosm";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = with lib.licenses; [ mpl11 gpl2Plus lgpl21Plus ];
|
|
|
|
platforms = lib.platforms.linux;
|
2014-10-18 20:09:42 +01:00
|
|
|
};
|
|
|
|
}
|