Unverified Commit a96f41fb authored by Jörg Thalheim's avatar Jörg Thalheim Committed by GitHub
Browse files

Merge pull request #208083 from NickCao/protobufc-cross

protobufc: fix cross compilation
parents 2dc7fd59 753b4713
Loading
Loading
Loading
Loading
+11 −3
Original line number Diff line number Diff line
{ 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 ];
  };
}