depot/third_party/nixpkgs/pkgs/development/libraries/readosm/default.nix

24 lines
710 B
Nix
Raw Normal View History

{ 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;
};
}