protobufc: fix cross compilation
This commit is contained in:
parent
9a2e72335c
commit
753b471332
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue