Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / ti / tippecanoe / package.nix
blobb588212f6f731aaf016400b52d489aa507c00300
1 { lib, stdenv, fetchFromGitHub, sqlite, zlib, perl, testers }:
3 stdenv.mkDerivation (finalAttrs: {
4   pname = "tippecanoe";
5   version = "2.57.0";
7   src = fetchFromGitHub {
8     owner = "felt";
9     repo = "tippecanoe";
10     rev = finalAttrs.version;
11     hash = "sha256-IFyewy/is5BNJ7/LzhHXLwLaSrMAJ6II1aSY9AspEk4=";
12   };
14   buildInputs = [ sqlite zlib ];
15   nativeCheckInputs = [ perl ];
17   makeFlags = [ "PREFIX=$(out)" ];
19   enableParallelBuilding = true;
21   # https://github.com/felt/tippecanoe/issues/148
22   doCheck = false;
24   passthru.tests.version = testers.testVersion {
25     package = finalAttrs.finalPackage;
26     version = "v${finalAttrs.version}";
27   };
29   meta = with lib; {
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";
36   };