depot/third_party/nixpkgs/pkgs/development/libraries/readosm/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
710 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;
};
}