2014-09-18 13:12:01 +02:00
|
|
|
{ fetchurl, stdenv, zlib }:
|
2010-10-30 23:44:22 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-09-18 13:12:01 +02:00
|
|
|
name = "protobuf-2.5.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://protobuf.googlecode.com/files/${name}.tar.bz2";
|
|
|
|
sha256 = "0xxn9gxhvsgzz2sgmihzf6pf75clr05mqj6218camwrwajpcbgqk";
|
2010-10-30 23:44:22 +02:00
|
|
|
};
|
|
|
|
|
2014-09-18 13:12:01 +02:00
|
|
|
buildInputs = [ zlib ];
|
2010-10-30 23:44:22 +02:00
|
|
|
|
2014-09-18 13:12:01 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2010-10-30 23:44:22 +02:00
|
|
|
description = "Protocol Buffers - Google's data interchange format";
|
2014-09-18 13:12:01 +02:00
|
|
|
|
2010-10-30 23:44:22 +02:00
|
|
|
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.
|
|
|
|
'';
|
2014-09-18 13:12:01 +02:00
|
|
|
|
|
|
|
license = "mBSD";
|
|
|
|
|
|
|
|
homepage = http://code.google.com/p/protobuf/;
|
2010-10-30 23:44:22 +02:00
|
|
|
};
|
|
|
|
}
|