mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
31 lines
777 B
Nix
31 lines
777 B
Nix
{ 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 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;
|
|
broken = stdenv.hostPlatform.isAarch64;
|
|
};
|
|
}
|