mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
protobufc: 1.3.3 -> 1.4.1
This commit is contained in:
parent
5908890550
commit
5b1dd91117
3 changed files with 12 additions and 17 deletions
|
@ -1,11 +0,0 @@
|
|||
{ callPackage, fetchFromGitHub, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // rec {
|
||||
version = "1.3.3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "protobuf-c";
|
||||
repo = "protobuf-c";
|
||||
rev = "v${version}";
|
||||
sha256 = "13948amsjj9xpa4yl6amlyk3ksr96bbd4ngshh2yzflwcslhg6gv";
|
||||
};
|
||||
})
|
|
@ -1,15 +1,20 @@
|
|||
{ lib, stdenv, src, version
|
||||
{ lib, stdenv, fetchFromGitHub
|
||||
, autoreconfHook, pkg-config, protobuf, zlib
|
||||
, ...
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "protobuf-c";
|
||||
inherit version;
|
||||
version = "1.4.1";
|
||||
|
||||
inherit src;
|
||||
src = fetchFromGitHub {
|
||||
owner = "protobuf-c";
|
||||
repo = "protobuf-c";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-TJCLzxozuZ8ynrBQ2lKyk03N+QA/lbOwywUjDUdTlbM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
||||
buildInputs = [ protobuf zlib ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -17,5 +22,6 @@ stdenv.mkDerivation {
|
|||
description = "C bindings for Google's Protocol Buffers";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
|
@ -21165,7 +21165,7 @@ with pkgs;
|
|||
protobuf3_8 = callPackage ../development/libraries/protobuf/3.8.nix { };
|
||||
protobuf3_7 = callPackage ../development/libraries/protobuf/3.7.nix { };
|
||||
|
||||
protobufc = callPackage ../development/libraries/protobufc/1.3.nix { };
|
||||
protobufc = callPackage ../development/libraries/protobufc { };
|
||||
|
||||
protolock = callPackage ../development/libraries/protolock { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue