guix-commits
[Top][All Lists]
Advanced

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

08/20: gnu: protozero: Don't use unstable tarball.


From: guix-commits
Subject: 08/20: gnu: protozero: Don't use unstable tarball.
Date: Tue, 19 Feb 2019 04:03:10 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit d56af1ff62a3759c323fec8760abf2a3e13c7dad
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Feb 18 23:32:54 2019 +0100

    gnu: protozero: Don't use unstable tarball.
    
    * gnu/packages/geo.scm (protozero)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/geo.scm | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 8a8d220..d955477 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -32,6 +32,7 @@
   #:use-module (guix build-system scons)
   #:use-module (guix build-system r)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix utils)
@@ -746,12 +747,13 @@ to create databases that are optimized for 
rendering/tile/map-services.")
     (version "1.6.5")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/mapbox/protozero/archive/v";
-                           version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/mapbox/protozero.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "0y12wz9v5w2gjfipyrw7v1gchnhivzlkkfax37i69l3yp9npimly"))))
+        (base32 "10ldzni46cplmkgx1f73yn95qcb71xh9nxpcfdmi107y3kvicv3c"))))
     (build-system cmake-build-system)
     (home-page "https://github.com/mapbox/protozero";)
     (synopsis "Minimalistic protocol buffer decoder and encoder in C++")



reply via email to

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