summary refs log blame commit diff
path: root/pkgs/development/libraries/protobufc/generic.nix
blob: e0c5d4db930578c6c8766548c376e2433016bb36 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                           

                         
                                 
 
              
 

                                                   
 
                           
                                                         
                                                             

                              

    
{ 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 = https://github.com/protobuf-c/protobuf-c/;
    description = "C bindings for Google's Protocol Buffers";
    license = licenses.bsd2;
    platforms = platforms.all;
  };
}