diff options
author | Nikolay Korotkiy <sikmir@disroot.org> | 2022-05-21 10:55:25 +0300 |
---|---|---|
committer | Nikolay Korotkiy <sikmir@disroot.org> | 2022-05-21 10:55:25 +0300 |
commit | 380666064adc334784f34b75b6b5e80b00cf5645 (patch) | |
tree | cce473b33ae7ca7e36ec6fc5beaed7e317700000 | |
parent | 98bcd08cb1778d103bac1149621b3568014aadbd (diff) |
tegola: 0.14.0 → 0.15.0
-rw-r--r-- | pkgs/servers/tegola/default.nix | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/servers/tegola/default.nix b/pkgs/servers/tegola/default.nix index 0037713e597e5..14c1b36581c8e 100644 --- a/pkgs/servers/tegola/default.nix +++ b/pkgs/servers/tegola/default.nix @@ -1,21 +1,21 @@ -{ lib, buildGoPackage, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub }: -buildGoPackage rec { +buildGoModule rec { pname = "tegola"; - version = "0.14.0"; - - goPackagePath = "github.com/go-spatial/tegola"; + version = "0.15.0"; src = fetchFromGitHub { owner = "go-spatial"; repo = pname; rev = "v${version}"; - sha256 = "sha256-/1UhgcMLCB1/HtDX6HvVXybn3jOCRLuz2AF+M52Aye0="; + sha256 = "sha256-RSuTZHv3W2SVPAkydz5yB89Ioynp0DO0qaQKut5tokc="; }; - ldflags = [ "-s" "-w" "-X ${goPackagePath}/cmd/tegola/cmd.Version=${version}" ]; + vendorSha256 = null; + + subPackages = [ "cmd/tegola" ]; - excludedPackages = [ "example" ]; + ldflags = [ "-s" "-w" "-X github.com/go-spatial/tegola/internal/build.Version=${version}" ]; meta = with lib; { homepage = "https://www.tegola.io/"; |