Merge pull request #208083 from NickCao/protobufc-cross

protobufc: fix cross compilation
This commit is contained in:
Jörg Thalheim 2022-12-28 13:06:16 +00:00 committed by GitHub
commit a96f41fbda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,11 @@
{ lib, stdenv, fetchFromGitHub
, autoreconfHook, pkg-config, protobuf, zlib
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, protobuf
, zlib
, buildPackages
}:
stdenv.mkDerivation rec {
@ -17,11 +23,13 @@ stdenv.mkDerivation rec {
buildInputs = [ protobuf zlib ];
PROTOC = lib.getExe buildPackages.protobuf;
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; [ ];
maintainers = with maintainers; [ nickcao ];
};
}