blob: c0da90796860a89ccc58a40a772412077d2dcfd0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ lib, stdenv, fetchFromGitHub, sqlite, zlib, perl, testers }:
stdenv.mkDerivation (finalAttrs: {
pname = "tippecanoe";
version = "2.56.0";
src = fetchFromGitHub {
owner = "felt";
repo = "tippecanoe";
rev = finalAttrs.version;
hash = "sha256-n1ZhOlhrI1cSOwv7NP2VDAPC/2HmMJBkNLH6NPY3BnM=";
};
buildInputs = [ sqlite zlib ];
nativeCheckInputs = [ perl ];
makeFlags = [ "PREFIX=$(out)" ];
enableParallelBuilding = true;
# https://github.com/felt/tippecanoe/issues/148
doCheck = false;
passthru.tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
version = "v${finalAttrs.version}";
};
meta = with lib; {
description = "Build vector tilesets from large collections of GeoJSON features";
homepage = "https://github.com/felt/tippecanoe";
license = licenses.bsd2;
maintainers = with maintainers; [ sikmir ];
platforms = platforms.unix;
mainProgram = "tippecanoe";
};
})
|