guix-commits
[Top][All Lists]
Advanced

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

70/88: gnu: libosmium: Don't use unstable tarball.


From: guix-commits
Subject: 70/88: gnu: libosmium: Don't use unstable tarball.
Date: Wed, 10 Apr 2019 23:44:47 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit f4daf2506697d43112126222f5de4f7c46007192
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Apr 8 23:52:43 2019 +0200

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

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index c7026c4..d228b3e 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -746,14 +746,14 @@ to create databases that are optimized for 
rendering/tile/map-services.")
     (name "libosmium")
     (version "2.14.2")
     (source
-      (origin
-        (method url-fetch)
-        (uri (string-append "https://github.com/osmcode/libosmium/archive/v";
-                version ".tar.gz"))
-    (file-name (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "0d9b46qiw7zkw1h9lygjdwqxnbhm3c7v8kydzw9f9f778cyagc94"))))
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/osmcode/libosmium.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "123ri1l0a2b9fljgpwsl7z2w4i3kmgxz79d4ns9z4mwbp8sw0250"))))
     (build-system cmake-build-system)
     (propagated-inputs
      `(("boost" ,boost)



reply via email to

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