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

24 lines
596 B
Nix
Raw Normal View History

{stdenv, fetchurl, protobuf}:
2019-08-13 21:52:01 +00:00
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;
2015-04-28 08:54:58 +00:00
description = "C library to read and write OpenStreetMap PBF files";
license = stdenv.lib.licenses.lgpl3;
platforms = stdenv.lib.platforms.unix;
};
}