guix-commits
[Top][All Lists]
Advanced

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

71/88: gnu: osm2pgsql: Don't use unstable tarball.


From: guix-commits
Subject: 71/88: gnu: osm2pgsql: 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 82b47fd9d1b8e8fe660812e046388a45036a1cf7
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Apr 8 23:53:04 2019 +0200

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

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index d228b3e..5d0c5af 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -776,20 +776,21 @@ OpenStreetMap data.")
   (package
     (name "osm2pgsql")
     (version "0.96.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append 
"https://github.com/openstreetmap/osm2pgsql/archive/";
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "08y7776r4l9v9177a4q6cfdri0lpirky96m6g699hwl7v1vhw0mn"))
-              (modules '((guix build utils)))
-              (snippet
-               '(begin
-                  (delete-file-recursively "contrib/protozero")
-                  (delete-file-recursively "contrib/libosmium")
-                  #t))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/openstreetmap/osm2pgsql.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "032cydh8ynaqfhdzmkvgbmqyjql668y6qln1l59l2s3ni9963bbl"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           (delete-file-recursively "contrib/protozero")
+           (delete-file-recursively "contrib/libosmium")
+           #t))))
     (build-system cmake-build-system)
     (arguments
      `(#:tests? #f; tests fail because we need to setup a database



reply via email to

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