2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2019-01-21 21:42:21 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "tegola";
|
2022-02-13 09:37:22 +00:00
|
|
|
version = "0.14.0";
|
2019-01-21 21:42:21 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/go-spatial/tegola";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "go-spatial";
|
2020-06-06 08:29:08 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-02-13 09:37:22 +00:00
|
|
|
sha256 = "sha256-/1UhgcMLCB1/HtDX6HvVXybn3jOCRLuz2AF+M52Aye0=";
|
2019-01-21 21:42:21 +00:00
|
|
|
};
|
|
|
|
|
2021-08-26 03:31:57 +00:00
|
|
|
ldflags = [ "-s" "-w" "-X ${goPackagePath}/cmd/tegola/cmd.Version=${version}" ];
|
2020-08-27 00:13:41 +00:00
|
|
|
|
2020-09-27 04:20:00 +00:00
|
|
|
excludedPackages = [ "example" ];
|
|
|
|
|
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 ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|