From 70bf8a38a71604a78104ce1a898af3facbb4adf4 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Fri, 2 Feb 2024 21:56:38 +0400 Subject: [PATCH] =?UTF-8?q?pg=5Ftileserv:=201.0.10=20=E2=86=92=201.0.11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/servers/geospatial/pg_tileserv/default.nix | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/pkgs/servers/geospatial/pg_tileserv/default.nix b/pkgs/servers/geospatial/pg_tileserv/default.nix index 80b8c23bee1a..4f6bac28e87a 100644 --- a/pkgs/servers/geospatial/pg_tileserv/default.nix +++ b/pkgs/servers/geospatial/pg_tileserv/default.nix @@ -2,26 +2,16 @@ buildGoModule rec { pname = "pg_tileserv"; - version = "1.0.10"; + version = "1.0.11"; src = fetchFromGitHub { owner = "CrunchyData"; repo = "pg_tileserv"; rev = "v${version}"; - hash = "sha256-Y8GAmWpnXQGmFcy44wFUQGpA8OvT7u1rY1ZGNg1Qwgs="; + hash = "sha256-xTIx39eLmHBUlaUjQy9KGpi5X4AU93DzX+Ofg5PMLWE="; }; - patches = [ - # Without this, we get error messages like: - # vendor/golang.org/x/sys/unix/syscall.go:83:16: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod) - # The patch was generated by changing "go 1.15" to "go 1.17" and executing `go mod tidy`. - (fetchpatch { - url = "https://github.com/CrunchyData/pg_tileserv/commit/d8e01469344895267ead9fa35ee7bdb8f966a710.patch"; - hash = "sha256-1P3dV8h51X+MEH2u1n6RxZvBPXBpQWrZBBCTOoCEWQU="; - }) - ]; - - vendorHash = "sha256-gXJFuvJ2d/e91TAtBzV3p2MwriJtUlIuNRw1+3iXJBA="; + vendorHash = "sha256-8CvYvoIKOYvR7npCV65ZqZGR8KCTH4GabTt/JGQG3uc="; ldflags = [ "-s" "-w" "-X main.programVersion=${version}" ];