partially fix pythonPackages.protobuf

wip/yesman
Domen Kožar 9 years ago
parent 4869902a70
commit 2024e08564
  1. 1
      pkgs/development/libraries/protobuf/2.5.nix
  2. 1
      pkgs/development/libraries/protobuf/2.6.nix
  3. 2
      pkgs/development/libraries/protobuf/generic.nix
  4. 5
      pkgs/top-level/python-packages.nix

@ -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";

@ -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";

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

@ -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";

Loading…
Cancel
Save