partially fix pythonPackages.protobuf

This commit is contained in:
Domen Kožar 2015-02-11 10:21:51 +01:00
parent 4869902a70
commit 2024e08564
4 changed files with 5 additions and 4 deletions

View File

@ -2,6 +2,7 @@
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

@ -2,6 +2,7 @@
callPackage ./generic.nix (args // rec {
version = "2.6.1";
# make sure you test also -A pythonPackages.protobuf
src = fetchFromGitHub {
owner = "google";
repo = "protobuf";

View File

@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
name = "protobuf-${version}";
name = "protobuf-v${version}";
inherit src;

View File

@ -7489,9 +7489,8 @@ let
protobuf = buildPythonPackage rec {
inherit (pkgs.protobuf) name src;
propagatedBuildInputs = with self; [ pkgs.protobuf google_apputils ];
sourceRoot = "${name}/python";
propagatedBuildInputs = with self; [ pkgs.protobuf google_apputils ];
sourceRoot = "${name}-src/python";
meta = {
description = "Protocol Buffers are Google's data interchange format";