depot/third_party/nixpkgs/pkgs/applications/misc/tippecanoe/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

30 lines
781 B
Nix

{ lib, stdenv, fetchFromGitHub, sqlite, zlib, perl }:
stdenv.mkDerivation rec {
pname = "tippecanoe";
version = "1.36.0";
src = fetchFromGitHub {
owner = "mapbox";
repo = pname;
rev = version;
sha256 = "0lbmhly4ivnqc6qk1k3sdqvsg6x3nfd8gnjx846bhqj4wag3f88m";
};
buildInputs = [ sqlite zlib ];
checkInputs = [ perl ];
makeFlags = [ "PREFIX=$(out)" ];
enableParallelBuilding = true;
doCheck = true;
meta = with lib; {
broken = stdenv.isDarwin || stdenv.isAarch64;
description = "Build vector tilesets from large collections of GeoJSON features";
homepage = "https://github.com/mapbox/tippecanoe";
license = licenses.bsd2;
maintainers = with maintainers; [ sikmir ];
platforms = with platforms; linux ++ darwin;
};
}