Skip to content

Commit

Permalink
osm2pgsql: init at 0.92.1-unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
Hodapp87 committed Apr 17, 2017
1 parent aeaa79d commit 228f33b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pkgs/tools/misc/osm2pgsql/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ stdenv, fetchgit, cmake, expat, proj, bzip2, zlib, boost, postgresql, lua}:

let
version = "0.92.1-unstable";
in
stdenv.mkDerivation rec {
name = "osm2pgsql-${version}";

src = fetchgit {
url = "https://github.com/openstreetmap/osm2pgsql.git";
rev = "2b72b2121e91b72b0db6911d65c5165ca46d9d66";
# Still waiting on release after:
# https://github.com/openstreetmap/osm2pgsql/pull/684
# https://github.com/openstreetmap/osm2pgsql/issues/634
#rev = "refs/tags/${version}";
sha256 = "1v6s863zsv9p2mni35gfamawj0xr2cv2p8a31z7sijf8m6fn0vpy";
};
nativeBuildInputs = [cmake];
buildInputs = [expat proj bzip2 zlib boost postgresql lua];

meta = {
description = "OpenStreetMap data to PostgreSQL converter";
version = "0.92.1-unstable";
homepage = https://github.com/openstreetmap/osm2pgsql;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14806,6 +14806,8 @@ with pkgs;

oroborus = callPackage ../applications/window-managers/oroborus {};

osm2pgsql = callPackage ../tools/misc/osm2pgsql { };

ostinato = callPackage ../applications/networking/ostinato { };

panamax_api = callPackage ../applications/networking/cluster/panamax/api {
Expand Down

0 comments on commit 228f33b

Please sign in to comment.