2014-10-18 19:09:42 +00:00
|
|
|
{ stdenv, fetchurl, expat, zlib, geos, libspatialite }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-27 21:04:18 +00:00
|
|
|
name = "readosm-1.1.0";
|
2014-10-18 19:09:42 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://www.gaia-gis.it/gaia-sins/readosm-sources/${name}.tar.gz";
|
2018-02-27 21:04:18 +00:00
|
|
|
sha256 = "1v20pnda67imjd70fn0zw30aar525xicy3d3v49md5cvqklws265";
|
2014-10-18 19:09:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ expat zlib geos libspatialite ];
|
|
|
|
|
2018-07-25 21:44:21 +00:00
|
|
|
configureFlags = [ "--disable-freexl" ];
|
2014-10-18 19:09:42 +00:00
|
|
|
|
|
|
|
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;
|
2015-04-21 16:05:19 +00:00
|
|
|
license = with stdenv.lib.licenses; [ mpl11 gpl2Plus lgpl21Plus ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-10-18 19:09:42 +00:00
|
|
|
};
|
|
|
|
}
|