unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nikolay Korotkiy via Guix-patches via <guix-patches@gnu.org>
To: 60613@debbugs.gnu.org
Cc: Nikolay Korotkiy <sikmir@disroot.org>
Subject: [bug#60613] [PATCH] gnu: tegola: Update to 0.16.0.
Date: Sat,  7 Jan 2023 03:22:45 +0400	[thread overview]
Message-ID: <b8f4ac90724f38fb11f2ab2b0f347dcc0cd21c49.1673047348.git.sikmir@disroot.org> (raw)

* gnu/packages/geo.scm (tegola): Update to 0.16.0.
---
 gnu/packages/geo.scm | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 2185af7a98..07eb3246d7 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1281,7 +1281,7 @@ (define-public postgis
 (define-public tegola
   (package
     (name "tegola")
-    (version "0.7.0")
+    (version "0.16.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1290,20 +1290,13 @@ (define-public tegola
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0agqj1b7l41m0imvxjriw44jcpa99mhq1z1vbsfzjhcr94zhwmfr"))))
+                "1mjfn0izf1lj402845mx0cv9fald8s5443q35y16d9crqf3i6mav"))))
     (build-system go-build-system)
     (arguments
      `(#:import-path "github.com/go-spatial/tegola/cmd/tegola"
        #:unpack-path "github.com/go-spatial/tegola"
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'build 'set-version
-           (lambda _
-             (with-directory-excursion "src/github.com/go-spatial/tegola"
-               (substitute* '("cmd/tegola/cmd/root.go"
-                              "cmd/tegola_lambda/main.go")
-                 (("version not set") ,version)))
-             #t)))))
+       #:build-flags '(,(string-append "-ldflags=-X github.com/go-spatial/tegola/internal/build.Version=" version))
+       #:install-source? #f))
     (home-page "https://tegola.io")
     (synopsis "Vector tile server for maps")
     (description "Tegola is a free vector tile server written in Go.  Tegola

base-commit: 22ffa5e00a05f75bb3b4285cd1ede28f2e7c6325
-- 
2.37.2





             reply	other threads:[~2023-01-06 23:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-06 23:22 Nikolay Korotkiy via Guix-patches via [this message]
2023-01-28  6:18 ` bug#60613: [PATCH] gnu: tegola: Update to 0.16.0 宋文武 via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b8f4ac90724f38fb11f2ab2b0f347dcc0cd21c49.1673047348.git.sikmir@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=60613@debbugs.gnu.org \
    --cc=sikmir@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).