22 lines
464 B
Nix
22 lines
464 B
Nix
{ stdenv, src, version
|
|
, autoreconfHook, pkgconfig, protobuf, zlib
|
|
, ...
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "protobuf-c";
|
|
inherit version;
|
|
|
|
inherit src;
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ protobuf zlib ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/protobuf-c/protobuf-c/";
|
|
description = "C bindings for Google's Protocol Buffers";
|
|
license = licenses.bsd2;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|