nixpkgs/pkgs/applications/misc/tippecanoe/default.nix

31 lines
775 B
Nix
Raw Normal View History

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