gnu: osm2pgsql: Don't use unstable tarball.

* gnu/packages/geo.scm (osm2pgsql)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-08 23:53:04 +02:00
parent f4daf25066
commit 82b47fd9d1
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 15 additions and 14 deletions

View File

@ -776,14 +776,15 @@ 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"))
(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
"08y7776r4l9v9177a4q6cfdri0lpirky96m6g699hwl7v1vhw0mn"))
(base32 "032cydh8ynaqfhdzmkvgbmqyjql668y6qln1l59l2s3ni9963bbl"))
(modules '((guix build utils)))
(snippet
'(begin