osm2pgsql: 1.9.0 → 1.9.2

This commit is contained in:
Nikolay Korotkiy 2023-09-21 01:12:15 +04:00
parent 89a6d10b3e
commit e2e53d4543
No known key found for this signature in database
GPG key ID: D1DE6D7F693663A5

View file

@ -9,6 +9,7 @@
, boost
, cimg
, postgresql
, python3
, withLuaJIT ? false
, lua
, luajit
@ -21,13 +22,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "osm2pgsql";
version = "1.9.0";
version = "1.9.2";
src = fetchFromGitHub {
owner = "openstreetmap";
owner = "osm2pgsql-dev";
repo = "osm2pgsql";
rev = finalAttrs.version;
hash = "sha256-ZIjT4uKJas5RgxcMSoR8hWCM9pdu3hSzWwfIn1ZvU8Y=";
hash = "sha256-RzJpaOEpgKm2IN6CK2Z67CUG0WU2ELvCpGhdQehjGKU=";
};
postPatch = ''
@ -49,6 +50,7 @@ stdenv.mkDerivation (finalAttrs: {
potrace
proj
protozero
(python3.withPackages (p: with p; [ psycopg2 pyosmium ]))
zlib
] ++ lib.optional withLuaJIT luajit
++ lib.optional (!withLuaJIT) lua;