nixpkgs/pkgs/servers/tegola/default.nix

28 lines
680 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "tegola";
2021-03-24 21:48:03 +00:00
version = "0.13.0";
goPackagePath = "github.com/go-spatial/tegola";
src = fetchFromGitHub {
owner = "go-spatial";
2020-06-06 09:29:08 +01:00
repo = pname;
rev = "v${version}";
2021-03-24 21:48:03 +00:00
sha256 = "sha256-NA2KwyhLLIusf6a6v+OcmHz91kPcIhvG9PRmRk8h+fQ=";
};
2021-08-26 04:31:57 +01:00
ldflags = [ "-s" "-w" "-X ${goPackagePath}/cmd/tegola/cmd.Version=${version}" ];
2020-08-27 01:13:41 +01:00
2020-09-27 05:20:00 +01:00
excludedPackages = [ "example" ];
meta = with lib; {
homepage = "https://www.tegola.io/";
description = "Mapbox Vector Tile server";
maintainers = with maintainers; [ ingenieroariel ];
platforms = platforms.unix;
license = licenses.mit;
};
}