2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchurl, protobuf}:
|
2015-02-22 13:31:35 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2015-02-22 13:31:35 +00:00
|
|
|
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";
|
|
|
|
|
2019-11-05 01:10:31 +00:00
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
2015-02-22 13:31:35 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/scrosby/OSM-binary";
|
2015-04-28 09:54:58 +01:00
|
|
|
description = "C library to read and write OpenStreetMap PBF files";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.lgpl3;
|
|
|
|
platforms = lib.platforms.unix;
|
2015-02-22 13:31:35 +00:00
|
|
|
};
|
|
|
|
}
|