1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 18:42:15 +00:00
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 11:10:36 +01:00
stdenv.mkDerivation rec {
pname = "tippecanoe";
2020-08-26 22:51:53 +01:00
version = "1.36.0";
2019-09-08 11:10:36 +01:00
src = fetchFromGitHub {
owner = "mapbox";
repo = pname;
rev = version;
2020-08-26 22:51:53 +01:00
sha256 = "0lbmhly4ivnqc6qk1k3sdqvsg6x3nfd8gnjx846bhqj4wag3f88m";
2019-09-08 11:10:36 +01:00
};
buildInputs = [ sqlite zlib ];
checkInputs = [ perl ];
makeFlags = [ "PREFIX=$(out)" ];
enableParallelBuilding = true;
doCheck = true;
meta = with lib; {
2019-09-08 11:10:36 +01: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 11:10:36 +01:00
license = licenses.bsd2;
maintainers = with maintainers; [ sikmir ];
2020-02-07 07:44:52 +00:00
platforms = with platforms; linux ++ darwin;
2020-08-26 22:51:53 +01:00
broken = stdenv.hostPlatform.isAarch64;
2019-09-08 11:10:36 +01:00
};
}