nixpkgs/pkgs/development/libraries/protobufc/generic.nix

22 lines
510 B
Nix
Raw Normal View History

{ stdenv, src, version
, autoreconfHook, pkgconfig, protobuf, zlib
, ...
}:
2012-09-25 17:35:03 +00:00
stdenv.mkDerivation rec {
2014-09-18 07:49:08 +00:00
name = "protobuf-c-${version}";
2012-09-25 17:35:03 +00:00
inherit src;
2012-09-25 17:35:03 +00:00
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ protobuf zlib ];
2012-09-25 17:35:03 +00:00
2014-09-18 07:49:08 +00:00
meta = with stdenv.lib; {
homepage = https://github.com/protobuf-c/protobuf-c/;
2012-09-25 17:35:03 +00:00
description = "C bindings for Google's Protocol Buffers";
2014-09-18 07:49:08 +00:00
license = licenses.bsd2;
platforms = platforms.all;
maintainers = with maintainers; [ wkennington ];
2012-09-25 17:35:03 +00:00
};
}