nixpkgs/pkgs/development/libraries/libosmpbf/default.nix

24 lines
580 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl, protobuf}:
2019-08-13 14:52:01 -07:00
stdenv.mkDerivation {
2021-01-19 19:17:10 -08:00
name = "libosmpbf-1.5.0";
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=";
};
buildInputs = [ protobuf ];
2021-01-19 19:17:10 -08:00
sourceRoot = "OSM-binary-1.5.0/src";
2019-11-04 17:10:31 -08:00
installFlags = [ "PREFIX=$(out)" ];
meta = {
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";
license = lib.licenses.lgpl3;
platforms = lib.platforms.unix;
};
}