2022-05-21 07:55:25 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-01-21 21:42:21 +00:00
|
|
|
|
2022-05-21 07:55:25 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "tegola";
|
2023-08-28 02:07:05 +00:00
|
|
|
version = "0.18.0";
|
2019-01-21 21:42:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "go-spatial";
|
2022-12-01 19:50:37 +00:00
|
|
|
repo = "tegola";
|
2020-06-06 08:29:08 +00:00
|
|
|
rev = "v${version}";
|
2023-08-28 02:07:05 +00:00
|
|
|
sha256 = "sha256-lrFRPD16AFavc+ghpKoxwQJsfJLe5jxTQVK/0a6SIIs=";
|
2019-01-21 21:42:21 +00:00
|
|
|
};
|
|
|
|
|
2023-08-06 15:37:17 +00:00
|
|
|
vendorHash = null;
|
2022-05-21 07:55:25 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/tegola" ];
|
2020-08-27 00:13:41 +00:00
|
|
|
|
2022-05-21 07:55:25 +00:00
|
|
|
ldflags = [ "-s" "-w" "-X github.com/go-spatial/tegola/internal/build.Version=${version}" ];
|
2020-09-27 04:20:00 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.tegola.io/";
|
2019-01-21 21:42:21 +00:00
|
|
|
description = "Mapbox Vector Tile server";
|
|
|
|
maintainers = with maintainers; [ ingenieroariel ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|