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

24 lines
702 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, expat, zlib, geos, libspatialite }:
stdenv.mkDerivation rec {
2020-08-29 06:36:00 +01:00
name = "readosm-1.1.0a";
src = fetchurl {
url = "https://www.gaia-gis.it/gaia-sins/readosm-sources/${name}.tar.gz";
2020-08-29 06:36:00 +01:00
sha256 = "0igif2bxf4dr82glxz9gyx5mmni0r2dsnx9p9k6pxv3c4lfhaz6v";
};
buildInputs = [ expat zlib geos libspatialite ];
2018-07-25 22:44:21 +01:00
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 lib.licenses; [ mpl11 gpl2Plus lgpl21Plus ];
platforms = lib.platforms.linux;
};
}