My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/servers/tegola/default.nix

27 lines
661 B

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tegola";
version = "0.15.0";
src = fetchFromGitHub {
owner = "go-spatial";
repo = pname;
rev = "v${version}";
sha256 = "sha256-RSuTZHv3W2SVPAkydz5yB89Ioynp0DO0qaQKut5tokc=";
};
vendorSha256 = null;
subPackages = [ "cmd/tegola" ];
ldflags = [ "-s" "-w" "-X github.com/go-spatial/tegola/internal/build.Version=${version}" ];
meta = with lib; {
homepage = "https://www.tegola.io/";
description = "Mapbox Vector Tile server";
maintainers = with maintainers; [ ingenieroariel ];
platforms = platforms.unix;
license = licenses.mit;
};
}