mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
24 lines
704 B
Nix
24 lines
704 B
Nix
{ stdenv, fetchurl, expat, zlib, geos, libspatialite }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "readosm-1.0.0b";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.gaia-gis.it/gaia-sins/readosm-sources/${name}.tar.gz";
|
|
sha256 = "042pv31smc7l6y111rvp0hza5sw86wa8ldg2jyq78xgwzcbhszpd";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|