mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
protobufc: Add version 1.1.0 as the default
This commit is contained in:
parent
673b18fdd7
commit
9f0a6d6d7f
11
pkgs/development/libraries/protobufc/1.0.nix
Normal file
11
pkgs/development/libraries/protobufc/1.0.nix
Normal 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";
|
||||
};
|
||||
})
|
11
pkgs/development/libraries/protobufc/1.1.nix
Normal file
11
pkgs/development/libraries/protobufc/1.1.nix
Normal 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";
|
||||
};
|
||||
})
|
@ -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 ];
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user