summary refs log tree commit diff
path: root/pkgs/development/libraries/protobufc/default.nix
blob: 4d2c1d4349fc06e6372602be1817dfc95551f352 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, protobuf, zlib }:

stdenv.mkDerivation rec {
  name = "protobuf-c-${version}";
  version = "1.0.2";

  src = fetchFromGitHub {
    owner = "protobuf-c";
    repo = "protobuf-c";
    rev = "v${version}";
    sha256 = "1harabw7qdgcmh098664xkcv8bkyach6i35sisc40yhvagr3fzsz";
  };

  buildInputs = [ autoreconfHook pkgconfig 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 ];
  };
}