2019-09-08 11:10:36 +01:00
|
|
|
{ stdenv, fetchFromGitHub, sqlite, zlib, perl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tippecanoe";
|
2020-02-07 07:44:52 +00:00
|
|
|
version = "1.35.0";
|
2019-09-08 11:10:36 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mapbox";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-02-07 07:44:52 +00:00
|
|
|
sha256 = "0v5ycc3gsqnl9pps3m45yrnb1gvw5pk6jdyr0q6516b4ac6x67m5";
|
2019-09-08 11:10:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ sqlite zlib ];
|
|
|
|
checkInputs = [ perl ];
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Build vector tilesets from large collections of GeoJSON features";
|
2020-02-07 07:44:52 +00:00
|
|
|
homepage = "https://github.com/mapbox/tippecanoe";
|
2019-09-08 11:10:36 +01:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ sikmir ];
|
2020-02-07 07:44:52 +00:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
2019-09-08 11:10:36 +01:00
|
|
|
};
|
|
|
|
}
|