@@ -0,0 +1,22 @@
1+{ stdenv, fetchFromGitHub, cmake }:
2+
3+stdenv.mkDerivation rec {
4+ name = "protozero-${version}";
5+ version = "1.6.3";
6+
7+ src = fetchFromGitHub {
8+ owner = "mapbox";
9+ repo = "protozero";
10+ rev = "v${version}";
11+ sha256 = "0lalk6hp7hqfn4fhhl2zb214idwm4y8dj32vi383arckzmsryhiw";
12+ };
13+
14+ nativeBuildInputs = [ cmake ];
15+
16+ meta = with stdenv.lib; {
17+ description = "Minimalistic protocol buffer decoder and encoder in C++";
18+ homepage = "https://github.com/mapbox/protozero";
19+ license = with licenses; [ bsd2 asl20 ];
20+ maintainers = with maintainers; [ das-g ];
21+ };
22+}