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