1 { lib, stdenv, fetchFromGitHub, sqlite, zlib, perl, testers }:
3 stdenv.mkDerivation (finalAttrs: {
7 src = fetchFromGitHub {
10 rev = finalAttrs.version;
11 hash = "sha256-IFyewy/is5BNJ7/LzhHXLwLaSrMAJ6II1aSY9AspEk4=";
14 buildInputs = [ sqlite zlib ];
15 nativeCheckInputs = [ perl ];
17 makeFlags = [ "PREFIX=$(out)" ];
19 enableParallelBuilding = true;
21 # https://github.com/felt/tippecanoe/issues/148
24 passthru.tests.version = testers.testVersion {
25 package = finalAttrs.finalPackage;
26 version = "v${finalAttrs.version}";
30 description = "Build vector tilesets from large collections of GeoJSON features";
31 homepage = "https://github.com/felt/tippecanoe";
32 license = licenses.bsd2;
33 maintainers = with maintainers; [ sikmir ];
34 platforms = platforms.unix;
35 mainProgram = "tippecanoe";