2021-01-21 09:00:13 -08:00
|
|
|
{lib, stdenv, fetchurl, protobuf}:
|
2015-02-22 05:31:35 -08:00
|
|
|
|
2019-08-13 14:52:01 -07:00
|
|
|
stdenv.mkDerivation {
|
2021-01-19 19:17:10 -08:00
|
|
|
name = "libosmpbf-1.5.0";
|
2015-02-22 05:31:35 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-19 19:17:10 -08:00
|
|
|
url = "https://github.com/scrosby/OSM-binary/archive/v1.5.0.tar.gz";
|
|
|
|
sha256 = "sha256-Kr8xJnKXk3MsM4B2OZnMNl5Rv/2jaaAIITh5o82QR2w=";
|
2015-02-22 05:31:35 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ protobuf ];
|
|
|
|
|
2021-01-19 19:17:10 -08:00
|
|
|
sourceRoot = "OSM-binary-1.5.0/src";
|
2015-02-22 05:31:35 -08:00
|
|
|
|
2019-11-04 17:10:31 -08:00
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
2015-02-22 05:31:35 -08:00
|
|
|
|
|
|
|
meta = {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/scrosby/OSM-binary";
|
2015-04-28 01:54:58 -07:00
|
|
|
description = "C library to read and write OpenStreetMap PBF files";
|
2021-01-21 09:00:13 -08:00
|
|
|
license = lib.licenses.lgpl3;
|
|
|
|
platforms = lib.platforms.unix;
|
2015-02-22 05:31:35 -08:00
|
|
|
};
|
|
|
|
}
|