2022-05-21 09:55:25 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-01-21 22:42:21 +01:00
|
|
|
|
2022-05-21 09:55:25 +02:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "tegola";
|
2022-05-21 09:55:25 +02:00
|
|
|
version = "0.15.0";
|
2019-01-21 22:42:21 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "go-spatial";
|
2020-06-06 10:29:08 +02:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-05-21 09:55:25 +02:00
|
|
|
sha256 = "sha256-RSuTZHv3W2SVPAkydz5yB89Ioynp0DO0qaQKut5tokc=";
|
2019-01-21 22:42:21 +01:00
|
|
|
};
|
|
|
|
|
2022-05-21 09:55:25 +02:00
|
|
|
vendorSha256 = null;
|
|
|
|
|
|
|
|
subPackages = [ "cmd/tegola" ];
|
2020-08-27 02:13:41 +02:00
|
|
|
|
2022-05-21 09:55:25 +02:00
|
|
|
ldflags = [ "-s" "-w" "-X github.com/go-spatial/tegola/internal/build.Version=${version}" ];
|
2020-09-27 06:20:00 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.tegola.io/";
|
2019-01-21 22:42:21 +01:00
|
|
|
description = "Mapbox Vector Tile server";
|
|
|
|
maintainers = with maintainers; [ ingenieroariel ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|