@@ -0,0 +1,24 @@
1+{ stdenv, fetchFromGitHub, cmake, protozero, expat, zlib, bzip2, boost }:
2+
3+stdenv.mkDerivation rec {
4+ name = "libosmium-${version}";
5+ version = "2.14.2";
6+
7+ src = fetchFromGitHub {
8+ owner = "osmcode";
9+ repo = "libosmium";
10+ rev = "v${version}";
11+ sha256 = "123ri1l0a2b9fljgpwsl7z2w4i3kmgxz79d4ns9z4mwbp8sw0250";
12+ };
13+
14+ nativeBuildInputs = [ cmake ];
15+ buildInputs = [ protozero zlib bzip2 expat boost ];
16+
17+
18+ meta = with stdenv.lib; {
19+ description = "Fast and flexible C++ library for working with OpenStreetMap data";
20+ homepage = "https://osmcode.org/libosmium/";
21+ license = licenses.boost;
22+ maintainers = with maintainers; [ das-g ];
23+ };
24+}