about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/protobufc/generic.nix
blob: b64d75076bafb5180812e5c37c6607ea167f39e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, stdenv, src, version
, autoreconfHook, pkg-config, protobuf, zlib
, ...
}:

stdenv.mkDerivation {
  pname = "protobuf-c";
  inherit version;

  inherit src;

  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;
  };
}