nixpkgs-suyu/pkgs/development/libraries/protobufc/generic.nix
2019-08-17 10:54:38 +00:00

21 lines
466 B
Nix

{ stdenv, src, version
, autoreconfHook, pkgconfig, protobuf, zlib
, ...
}:
stdenv.mkDerivation rec {
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;
};
}