summary refs log blame commit diff
path: root/pkgs/development/libraries/protozero/default.nix
blob: c2d8f5e74c904b69394035926bea10de86830345 (plain) (tree)





















                                                                            
{ stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation rec {
  name = "protozero-${version}";
  version = "1.6.3";

  src = fetchFromGitHub {
    owner = "mapbox";
    repo = "protozero";
    rev = "v${version}";
    sha256 = "0lalk6hp7hqfn4fhhl2zb214idwm4y8dj32vi383arckzmsryhiw";
  };

  nativeBuildInputs = [ cmake ];

  meta = with stdenv.lib; {
    description = "Minimalistic protocol buffer decoder and encoder in C++";
    homepage = "https://github.com/mapbox/protozero";
    license = with licenses; [ bsd2 asl20 ];
    maintainers = with maintainers; [ das-g ];
  };
}