mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
22 lines
510 B
Nix
22 lines
510 B
Nix
{ stdenv, src, version
|
|
, autoreconfHook, pkgconfig, protobuf, zlib
|
|
, ...
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "protobuf-c-${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;
|
|
maintainers = with maintainers; [ wkennington ];
|
|
};
|
|
}
|