mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
30 lines
733 B
Nix
30 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;
|
|
};
|
|
}
|