add protobuf based on the default version in nixpkgs

svn path=/nixpkgs/trunk/; revision=28936
This commit is contained in:
Rob Vermaas 2011-08-30 19:57:29 +00:00
parent a63bf23f32
commit 4c7418cb29

View File

@ -1180,6 +1180,19 @@ let pythonPackages = python.modules // rec {
};
protobuf = buildPythonPackage rec {
inherit (pkgs.protobuf) name src;
propagatedBuildInputs = [pkgs.protobuf];
sourceRoot = "${name}/python";
meta = {
description = "Protocol Buffers are Google's data interchange format.";
homepage = http://code.google.com/p/protobuf/;
};
};
psycopg2 = buildPythonPackage rec {
name = "psycopg2-2.0.13";