mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
22 lines
464 B
Nix
22 lines
464 B
Nix
{ lib, stdenv, src, version
|
|
, autoreconfHook, pkg-config, protobuf, zlib
|
|
, ...
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "protobuf-c";
|
|
inherit version;
|
|
|
|
inherit src;
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ protobuf zlib ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/protobuf-c/protobuf-c/";
|
|
description = "C bindings for Google's Protocol Buffers";
|
|
license = licenses.bsd2;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|