mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
4acb425c39
cjdns: https://hydra.nixos.org/build/61134279 jonprl: https://hydra.nixos.org/build/61123711 mate.libmatemixer: https://hydra.nixos.org/build/61126968 dirac: https://hydra.nixos.org/build/61132432 idnkit: https://hydra.nixos.org/build/61123544 trousers: https://hydra.nixos.org/build/61109766 packetdrill: https://hydra.nixos.org/build/61116190 osm2pgsql: https://hydra.nixos.org/build/61118017 nawk: https://hydra.nixos.org/build/61139000
29 lines
927 B
Nix
29 lines
927 B
Nix
{ 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.linux;
|
|
};
|
|
}
|