depot/third_party/nixpkgs/pkgs/servers/tegola/default.nix
Default email 58849dfc4f Project import generated by Copybara.
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
2021-08-27 16:25:00 +02:00

27 lines
680 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "tegola";
version = "0.13.0";
goPackagePath = "github.com/go-spatial/tegola";
src = fetchFromGitHub {
owner = "go-spatial";
repo = pname;
rev = "v${version}";
sha256 = "sha256-NA2KwyhLLIusf6a6v+OcmHz91kPcIhvG9PRmRk8h+fQ=";
};
ldflags = [ "-s" "-w" "-X ${goPackagePath}/cmd/tegola/cmd.Version=${version}" ];
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;
};
}