2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, src, version
|
2021-01-19 06:50:56 +00:00
|
|
|
, autoreconfHook, pkg-config, protobuf, zlib
|
2015-02-06 20:28:33 +00:00
|
|
|
, ...
|
|
|
|
}:
|
2012-09-25 18:35:03 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "protobuf-c";
|
|
|
|
inherit version;
|
2012-09-25 18:35:03 +01:00
|
|
|
|
2015-02-06 20:28:33 +00:00
|
|
|
inherit src;
|
2012-09-25 18:35:03 +01:00
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ protobuf zlib ];
|
2012-09-25 18:35:03 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/protobuf-c/protobuf-c/";
|
2012-09-25 18:35:03 +01:00
|
|
|
description = "C bindings for Google's Protocol Buffers";
|
2014-09-18 08:49:08 +01:00
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.all;
|
2012-09-25 18:35:03 +01:00
|
|
|
};
|
|
|
|
}
|