From f10dda1a3340eaabe6d0d1a16e8460f963663b68 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Mon, 12 Sep 2022 21:08:33 +0300 Subject: [PATCH] =?UTF-8?q?tippecanoe:=201.36.0=20=E2=86=92=202.6.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/applications/misc/tippecanoe/default.nix | 26 +++++++++++-------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/misc/tippecanoe/default.nix b/pkgs/applications/misc/tippecanoe/default.nix index e92636bad20f..d6fc4910e857 100644 --- a/pkgs/applications/misc/tippecanoe/default.nix +++ b/pkgs/applications/misc/tippecanoe/default.nix @@ -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"; - version = "1.36.0"; + version = "2.6.0"; src = fetchFromGitHub { - owner = "mapbox"; - repo = pname; - rev = version; - sha256 = "0lbmhly4ivnqc6qk1k3sdqvsg6x3nfd8gnjx846bhqj4wag3f88m"; + owner = "felt"; + repo = "tippecanoe"; + rev = finalAttrs.version; + hash = "sha256-58/FS5nxzK5JSc0D1KXooSjrKMdOnpF7dvwAK9rUZZk="; }; buildInputs = [ sqlite zlib ]; @@ -19,12 +19,16 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; doCheck = true; + passthru.tests.version = testers.testVersion { + package = finalAttrs.finalPackage; + version = "v${finalAttrs.version}"; + }; + meta = with lib; { - broken = stdenv.isDarwin || stdenv.isAarch64; 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; maintainers = with maintainers; [ sikmir ]; - platforms = with platforms; linux ++ darwin; + platforms = platforms.unix; }; -} +})