Skip to content

Commit

Permalink
protobufc: 1.3.3 -> 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt authored and SuperSandro2000 committed Sep 19, 2022
1 parent 5908890 commit 5b1dd91
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
11 changes: 0 additions & 11 deletions pkgs/development/libraries/protobufc/1.3.nix

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
{ 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; {
homepage = "https://github.com/protobuf-c/protobuf-c/";
description = "C bindings for Google's Protocol Buffers";
license = licenses.bsd2;
platforms = platforms.all;
maintainers = with maintainers; [ ];
};
}
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };

Expand Down

1 comment on commit 5b1dd91

@vcunat
Copy link
Member

@vcunat vcunat commented on 5b1dd91 Sep 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is most likely what broke its build on *-darwin, but I'm not sure if there's anyone caring enough about it.
https://hydra.nixos.org/job/nixpkgs/staging-next/protobufc.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/staging-next/protobufc.aarch64-darwin

Please sign in to comment.