2018-10-28 09:42:19 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "protozero-${version}";
|
2018-11-19 00:20:46 +00:00
|
|
|
version = "1.6.4";
|
2018-10-28 09:42:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mapbox";
|
|
|
|
repo = "protozero";
|
|
|
|
rev = "v${version}";
|
2018-11-19 00:20:46 +00:00
|
|
|
sha256 = "0hcawgyj3wxqikx5xqs1ag12w8vz00gb1rzx131jq51yhzc6bwrb";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|