blob: 1cbfe44ef4e50e203250b3ceda28bb90fb0acd8f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{lib, stdenv, fetchurl, protobuf}:
stdenv.mkDerivation {
name = "libosmpbf-1.3.3";
src = fetchurl {
url = "https://github.com/scrosby/OSM-binary/archive/v1.3.3.tar.gz";
sha256 = "a109f338ce6a8438a8faae4627cd08599d0403b8977c185499de5c17b92d0798";
};
buildInputs = [ protobuf ];
sourceRoot = "OSM-binary-1.3.3/src";
installFlags = [ "PREFIX=$(out)" ];
meta = {
homepage = "https://github.com/scrosby/OSM-binary";
description = "C library to read and write OpenStreetMap PBF files";
license = lib.licenses.lgpl3;
platforms = lib.platforms.unix;
};
}
|