nixpkgs/pkgs/development/libraries/readosm/default.nix
2018-08-03 17:06:03 -04:00

23 lines
708 B
Nix

{ stdenv, fetchurl, expat, zlib, geos, libspatialite }:
stdenv.mkDerivation rec {
name = "readosm-1.1.0";
src = fetchurl {
url = "https://www.gaia-gis.it/gaia-sins/readosm-sources/${name}.tar.gz";
sha256 = "1v20pnda67imjd70fn0zw30aar525xicy3d3v49md5cvqklws265";
};
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;
};
}