132413ed21
* osm2pgsql: 0.96.0 -> 1.0.0 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/osm2pgsql/versions * osm2pgsql: add jglukasik as maintainer
28 lines
765 B
Nix
28 lines
765 B
Nix
{ stdenv, fetchFromGitHub, cmake, expat, proj, bzip2, zlib, boost, postgresql, lua}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "osm2pgsql";
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "openstreetmap";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1g9qc1z5gzdjd37n586vcmq1qli0lkhbnsrnky0mf22szzv8iwfx";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ expat proj bzip2 zlib boost postgresql lua ];
|
|
|
|
NIX_CFLAGS_COMPILE = [ "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "OpenStreetMap data to PostgreSQL converter";
|
|
homepage = "https://github.com/openstreetmap/osm2pgsql";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ jglukasik ];
|
|
};
|
|
}
|