Merge pull request #49429 from das-g/osmium

osmium-tool: init at 1.9.1 incl. dependencies
This commit is contained in:
Sarah Brofeldt
2018-11-07 10:47:07 +01:00
committed by GitHub
5 changed files with 80 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
{ stdenv, fetchFromGitHub, cmake, protozero, expat, zlib, bzip2, boost }:
stdenv.mkDerivation rec {
name = "libosmium-${version}";
version = "2.14.2";
src = fetchFromGitHub {
owner = "osmcode";
repo = "libosmium";
rev = "v${version}";
sha256 = "123ri1l0a2b9fljgpwsl7z2w4i3kmgxz79d4ns9z4mwbp8sw0250";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ protozero zlib bzip2 expat boost ];
meta = with stdenv.lib; {
description = "Fast and flexible C++ library for working with OpenStreetMap data";
homepage = "https://osmcode.org/libosmium/";
license = licenses.boost;
maintainers = with maintainers; [ das-g ];
};
}

View File

@@ -0,0 +1,22 @@
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "protozero-${version}";
version = "1.6.3";
src = fetchFromGitHub {
owner = "mapbox";
repo = "protozero";
rev = "v${version}";
sha256 = "0lalk6hp7hqfn4fhhl2zb214idwm4y8dj32vi383arckzmsryhiw";
};
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
description = "Minimalistic protocol buffer decoder and encoder in C++";
homepage = "https://github.com/mapbox/protozero";
license = with licenses; [ bsd2 asl20 ];
maintainers = with maintainers; [ das-g ];
};
}