531e4b80c9
Only acts on one-line dependency lists.
22 lines
509 B
Nix
22 lines
509 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 = http://github.com/protobuf-c/protobuf-c/;
|
|
description = "C bindings for Google's Protocol Buffers";
|
|
license = licenses.bsd2;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ wkennington ];
|
|
};
|
|
}
|