protobufc: Add version 1.1.0 as the default

This commit is contained in:
William A. Kennington III 2015-02-06 12:28:33 -08:00
parent 673b18fdd7
commit 9f0a6d6d7f
4 changed files with 30 additions and 9 deletions

View File

@ -0,0 +1,11 @@
{ callPackage, fetchFromGitHub, ... } @ args:
callPackage ./generic.nix (args // rec {
version = "1.0.2";
src = fetchFromGitHub {
owner = "protobuf-c";
repo = "protobuf-c";
rev = "v${version}";
sha256 = "1harabw7qdgcmh098664xkcv8bkyach6i35sisc40yhvagr3fzsz";
};
})

View File

@ -0,0 +1,11 @@
{ callPackage, fetchFromGitHub, ... } @ args:
callPackage ./generic.nix (args // rec {
version = "1.1.0";
src = fetchFromGitHub {
owner = "protobuf-c";
repo = "protobuf-c";
rev = "v${version}";
sha256 = "11j9vg55a732v14cki4721ipr942c4krr562gliqmnlwvyz0hlyb";
};
})

View File

@ -1,15 +1,12 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, protobuf, zlib }:
{ stdenv, src, version
, autoreconfHook, pkgconfig, protobuf, zlib
, ...
}:
stdenv.mkDerivation rec {
name = "protobuf-c-${version}";
version = "1.0.2";
src = fetchFromGitHub {
owner = "protobuf-c";
repo = "protobuf-c";
rev = "v${version}";
sha256 = "1harabw7qdgcmh098664xkcv8bkyach6i35sisc40yhvagr3fzsz";
};
inherit src;
buildInputs = [ autoreconfHook pkgconfig protobuf zlib ];

View File

@ -6967,7 +6967,9 @@ let
protobuf2_6 = callPackage ../development/libraries/protobuf/2.6.nix { };
protobuf2_5 = callPackage ../development/libraries/protobuf/2.5.nix { };
protobufc = callPackage ../development/libraries/protobufc { };
protobufc = protobufc1_1;
protobufc1_1 = callPackage ../development/libraries/protobufc/1.1.nix { };
protobufc1_0 = callPackage ../development/libraries/protobufc/1.0.nix { };
pth = callPackage ../development/libraries/pth { };