2018-10-28 09:42:19 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "protozero";
|
2019-08-20 08:04:54 +01:00
|
|
|
version = "1.6.8";
|
2018-10-28 09:42:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mapbox";
|
|
|
|
repo = "protozero";
|
|
|
|
rev = "v${version}";
|
2019-08-20 08:04:54 +01:00
|
|
|
sha256 = "1hfijpfylf1c71wa3mk70gjc88b6k1q7cxb87cwqdflw5q2x8ma6";
|
2018-10-28 09:42:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|