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