protobuf2_5: restore to build Hadoop

This partially reverts 1f2a18d916
This commit is contained in:
volth 2017-12-20 10:07:45 +00:00 committed by Orivej Desh
parent 9f31fe81aa
commit 400956bca3
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,10 @@
{ callPackage, fetchurl, ... } @ args:
callPackage ./generic.nix (args // rec {
version = "2.5.0";
# make sure you test also -A pythonPackages.protobuf
src = fetchurl {
url = "http://protobuf.googlecode.com/files/${version}.tar.bz2";
sha256 = "0xxn9gxhvsgzz2sgmihzf6pf75clr05mqj6218camwrwajpcbgqk";
};
})

View File

@ -10426,6 +10426,7 @@ with pkgs;
protobuf = callPackage ../development/libraries/protobuf/3.4.nix { };
protobuf3_1 = callPackage ../development/libraries/protobuf/3.1.nix { };
protobuf2_5 = callPackage ../development/libraries/protobuf/2.5.nix { };
protobufc = callPackage ../development/libraries/protobufc/1.3.nix { };