2010-10-30 22:44:22 +01:00
|
|
|
{ fetchurl, stdenv, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-11-24 06:29:48 +00:00
|
|
|
name = "protobuf-2.5.0";
|
2010-10-30 22:44:22 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://protobuf.googlecode.com/files/${name}.tar.bz2";
|
2013-11-24 06:29:48 +00:00
|
|
|
sha256 = "0xxn9gxhvsgzz2sgmihzf6pf75clr05mqj6218camwrwajpcbgqk";
|
2010-10-30 22:44:22 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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/;
|
|
|
|
};
|
|
|
|
}
|