guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

25/25: gnu: tegola: Don't use autogenerated tarball.


From: guix-commits
Subject: 25/25: gnu: tegola: Don't use autogenerated tarball.
Date: Mon, 14 Nov 2022 08:44:46 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit f572de77c4fda3347bea16b4c86d630b193291dc
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Nov 14 15:39:49 2022 +0200

    gnu: tegola: Don't use autogenerated tarball.
    
    * gnu/packages/geo.scm (tegola)[source]: Download using git-fetch.
---
 gnu/packages/geo.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 2e5315faff..ade53a503c 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1220,14 +1220,14 @@ extension.")
     (name "tegola")
     (version "0.7.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                     "https://github.com/go-spatial/tegola/archive/v";
-                     version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/go-spatial/tegola";)
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "09vnzxfn0r70kmd776kcdfqxhzdj11syxa0b27z4ci1k367v7viw"))))
+                "0agqj1b7l41m0imvxjriw44jcpa99mhq1z1vbsfzjhcr94zhwmfr"))))
     (build-system go-build-system)
     (arguments
      `(#:import-path "github.com/go-spatial/tegola/cmd/tegola"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]