nixpkgs/pkgs/servers/geospatial/tegola/default.nix
2023-10-05 04:32:28 +00:00

27 lines
630 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tegola";
version = "0.19.0";
src = fetchFromGitHub {
owner = "go-spatial";
repo = "tegola";
rev = "v${version}";
sha256 = "sha256-Z72QANnkAOg0le6p0lFJUhlgE/U32Ao+M/yog00gSF4=";
};
vendorHash = 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 ];
license = licenses.mit;
};
}