Add Google's Protocol Buffers.
svn path=/nixpkgs/trunk/; revision=24547
This commit is contained in:
parent
94d5ee9410
commit
b6072abeac
28
pkgs/development/libraries/protobuf/default.nix
Normal file
28
pkgs/development/libraries/protobuf/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ fetchurl, stdenv, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "protobuf-2.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://protobuf.googlecode.com/files/${name}.tar.bz2";
|
||||
sha256 = "1b40cb7ij4bnw78k46y0a2jkm8qisxkk1gbbj40yi77yqc3pf33n";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Protocol Buffers - Google's data interchange format";
|
||||
|
||||
longDescription =
|
||||
'' Protocol Buffers are a way of encoding structured data in an
|
||||
efficient yet extensible format. Google uses Protocol Buffers for
|
||||
almost all of its internal RPC protocols and file formats.
|
||||
'';
|
||||
|
||||
license = "mBSD";
|
||||
|
||||
homepage = http://code.google.com/p/protobuf/;
|
||||
};
|
||||
}
|
@ -3707,6 +3707,8 @@ let
|
||||
|
||||
postgis = callPackage ../development/libraries/postgis { };
|
||||
|
||||
protobuf = callPackage ../development/libraries/protobuf { };
|
||||
|
||||
pth = callPackage ../development/libraries/pth { };
|
||||
|
||||
ptlib = callPackage ../development/libraries/ptlib {};
|
||||
|
Loading…
Reference in New Issue
Block a user