Skip to content

Commit

Permalink
protobuf-c: unstable-2023-07-08 -> 1.5.0
Browse files Browse the repository at this point in the history
Release notes:
https://github.com/protobuf-c/protobuf-c/releases/tag/v1.5.0

Split out `dev` and `lib`.

Fixed anbox package moving protobufc to `nativeBuildInputs`, because
the `proto-c` tool is used at `build-time`.

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
  • Loading branch information
haraldh authored and SuperSandro2000 committed May 7, 2024
1 parent d1c6a5d commit b281d60
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions pkgs/development/libraries/protobufc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@

stdenv.mkDerivation rec {
pname = "protobuf-c";
version = "unstable-2023-07-08";
version = "1.5.0";

src = fetchFromGitHub {
owner = "protobuf-c";
repo = "protobuf-c";
rev = "fa86fddbd000316772d1deb5a8d1201fa7599ef7";
hash = "sha256-pmqZYFREPgSrWPekymTglhtAv6gQR1gP3dOl3hqjYig=";
rev = "refs/tags/v${version}";
hash = "sha256-Dkpcc7ZfvAIVY91trRiHuiRFcUGUbQxbheYKTBcq80I=";
};

outputs = [ "out" "dev" "lib" ];

nativeBuildInputs = [ autoreconfHook pkg-config ];

buildInputs = [ protobuf zlib ];
Expand Down
3 changes: 2 additions & 1 deletion pkgs/os-specific/linux/anbox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ stdenv.mkDerivation rec {
cmake
pkg-config
makeWrapper
protobufc
];

buildInputs = [
Expand All @@ -74,7 +75,7 @@ stdenv.mkDerivation rec {
lxc
mesa
properties-cpp
protobuf protobufc
protobuf
python3
SDL2 SDL2_image
systemd
Expand Down

0 comments on commit b281d60

Please sign in to comment.