2015-02-06 21:28:33 +01:00
|
|
|
{ stdenv, src, version
|
|
|
|
, autoreconfHook, pkgconfig, protobuf, zlib
|
|
|
|
, ...
|
|
|
|
}:
|
2012-09-25 19:35:03 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-09-18 09:49:08 +02:00
|
|
|
name = "protobuf-c-${version}";
|
2012-09-25 19:35:03 +02:00
|
|
|
|
2015-02-06 21:28:33 +01:00
|
|
|
inherit src;
|
2012-09-25 19:35:03 +02:00
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ protobuf zlib ];
|
2012-09-25 19:35:03 +02:00
|
|
|
|
2014-09-18 09:49:08 +02:00
|
|
|
meta = with stdenv.lib; {
|
2017-11-10 22:13:27 +01:00
|
|
|
homepage = https://github.com/protobuf-c/protobuf-c/;
|
2012-09-25 19:35:03 +02:00
|
|
|
description = "C bindings for Google's Protocol Buffers";
|
2014-09-18 09:49:08 +02:00
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.all;
|
2012-09-25 19:35:03 +02:00
|
|
|
};
|
|
|
|
}
|