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:
parent
f4daf25066
commit
82b47fd9d1
|
@ -776,20 +776,21 @@ OpenStreetMap data.")
|
||||||
(package
|
(package
|
||||||
(name "osm2pgsql")
|
(name "osm2pgsql")
|
||||||
(version "0.96.0")
|
(version "0.96.0")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "https://github.com/openstreetmap/osm2pgsql/archive/"
|
(method git-fetch)
|
||||||
version ".tar.gz"))
|
(uri (git-reference
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(url "https://github.com/openstreetmap/osm2pgsql.git")
|
||||||
(sha256
|
(commit version)))
|
||||||
(base32
|
(file-name (git-file-name name version))
|
||||||
"08y7776r4l9v9177a4q6cfdri0lpirky96m6g699hwl7v1vhw0mn"))
|
(sha256
|
||||||
(modules '((guix build utils)))
|
(base32 "032cydh8ynaqfhdzmkvgbmqyjql668y6qln1l59l2s3ni9963bbl"))
|
||||||
(snippet
|
(modules '((guix build utils)))
|
||||||
'(begin
|
(snippet
|
||||||
(delete-file-recursively "contrib/protozero")
|
'(begin
|
||||||
(delete-file-recursively "contrib/libosmium")
|
(delete-file-recursively "contrib/protozero")
|
||||||
#t))))
|
(delete-file-recursively "contrib/libosmium")
|
||||||
|
#t))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f; tests fail because we need to setup a database
|
`(#:tests? #f; tests fail because we need to setup a database
|
||||||
|
|
Loading…
Reference in New Issue