gnu: osm2pgsql: Update to 1.2.1.

* gnu/packages/geo.scm (osm2pgsql): Update to 1.2.1.
  [inputs]: Add bzip2 and replace proj.4 by proj.
  [native-inputs]: Replace python-2 by python and python2-psycopg2 by
  python-psycopg2.
This commit is contained in:
Guillaume Le Vaillant 2020-03-20 17:57:35 +01:00
parent 7ba300ee6e
commit 6145b16778
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -873,7 +873,7 @@ (define-public libosmium
(define-public osm2pgsql
(package
(name "osm2pgsql")
(version "0.96.0")
(version "1.2.1")
(source
(origin
(method git-fetch)
@ -882,7 +882,7 @@ (define-public osm2pgsql
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "032cydh8ynaqfhdzmkvgbmqyjql668y6qln1l59l2s3ni9963bbl"))
(base32 "1ysan01lpqzjxlq3y2kdminfjs5d9zksicpf9vvzpdk3fzq51fc9"))
(modules '((guix build utils)))
(snippet
'(begin
@ -901,16 +901,17 @@ (define-public osm2pgsql
"/include"))))
(inputs
`(("boost" ,boost)
("bzip2" ,bzip2)
("expat" ,expat)
("libosmium" ,libosmium)
("lua" ,lua)
("postgresql" ,postgresql)
("proj.4" ,proj.4)
("proj" ,proj)
("protozero" ,protozero)
("zlib" ,zlib)))
(native-inputs
`(("python-2" ,python-2)
("python2-psycopg2" ,python2-psycopg2)))
`(("python" ,python)
("python-psycopg2" ,python-psycopg2)))
(home-page "https://github.com/openstreetmap/osm2pgsql")
(synopsis "OSM data importer to postgresql")
(description "Osm2pgsql is a tool for loading OpenStreetMap data into a