nixpkgs/pkgs/servers/geospatial/tegola/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
630 B
Nix
Raw Normal View History

2022-05-21 08:55:25 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
2022-05-21 08:55:25 +01:00
buildGoModule rec {
pname = "tegola";
2023-10-05 05:32:28 +01:00
version = "0.19.0";
src = fetchFromGitHub {
owner = "go-spatial";
2022-12-01 19:50:37 +00:00
repo = "tegola";
2020-06-06 09:29:08 +01:00
rev = "v${version}";
2023-10-05 05:32:28 +01:00
sha256 = "sha256-Z72QANnkAOg0le6p0lFJUhlgE/U32Ao+M/yog00gSF4=";
};
2023-08-06 16:37:17 +01:00
vendorHash = null;
2022-05-21 08:55:25 +01:00
subPackages = [ "cmd/tegola" ];
2020-08-27 01:13:41 +01:00
2022-05-21 08:55:25 +01:00
ldflags = [ "-s" "-w" "-X github.com/go-spatial/tegola/internal/build.Version=${version}" ];
2020-09-27 05:20:00 +01:00
meta = with lib; {
homepage = "https://www.tegola.io/";
description = "Mapbox Vector Tile server";
maintainers = with maintainers; [ ingenieroariel ];
license = licenses.mit;
};
}