Merge pull request #190958 from sikmir/tippecanoe
tippecanoe: 1.36.0 → 2.6.0
This commit is contained in:
commit
74f38e6684
1 changed files with 15 additions and 11 deletions
|
@ -1,14 +1,14 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, sqlite, zlib, perl }:
|
{ lib, stdenv, fetchFromGitHub, sqlite, zlib, perl, testers }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "tippecanoe";
|
pname = "tippecanoe";
|
||||||
version = "1.36.0";
|
version = "2.6.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mapbox";
|
owner = "felt";
|
||||||
repo = pname;
|
repo = "tippecanoe";
|
||||||
rev = version;
|
rev = finalAttrs.version;
|
||||||
sha256 = "0lbmhly4ivnqc6qk1k3sdqvsg6x3nfd8gnjx846bhqj4wag3f88m";
|
hash = "sha256-58/FS5nxzK5JSc0D1KXooSjrKMdOnpF7dvwAK9rUZZk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ sqlite zlib ];
|
buildInputs = [ sqlite zlib ];
|
||||||
|
@ -19,12 +19,16 @@ stdenv.mkDerivation rec {
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
passthru.tests.version = testers.testVersion {
|
||||||
|
package = finalAttrs.finalPackage;
|
||||||
|
version = "v${finalAttrs.version}";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
broken = stdenv.isDarwin || stdenv.isAarch64;
|
|
||||||
description = "Build vector tilesets from large collections of GeoJSON features";
|
description = "Build vector tilesets from large collections of GeoJSON features";
|
||||||
homepage = "https://github.com/mapbox/tippecanoe";
|
homepage = "https://github.com/felt/tippecanoe";
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
maintainers = with maintainers; [ sikmir ];
|
maintainers = with maintainers; [ sikmir ];
|
||||||
platforms = with platforms; linux ++ darwin;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue