depot/third_party/nixpkgs/pkgs/applications/misc/tippecanoe/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

29 lines
733 B
Nix

{ stdenv, fetchFromGitHub, sqlite, zlib, perl }:
stdenv.mkDerivation rec {
pname = "tippecanoe";
version = "1.35.0";
src = fetchFromGitHub {
owner = "mapbox";
repo = pname;
rev = version;
sha256 = "0v5ycc3gsqnl9pps3m45yrnb1gvw5pk6jdyr0q6516b4ac6x67m5";
};
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";
homepage = "https://github.com/mapbox/tippecanoe";
license = licenses.bsd2;
maintainers = with maintainers; [ sikmir ];
platforms = with platforms; linux ++ darwin;
};
}