2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2018-10-28 09:42:19 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "protozero";
|
2022-01-28 00:01:46 +00:00
|
|
|
version = "1.7.1";
|
2018-10-28 09:42:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mapbox";
|
|
|
|
repo = "protozero";
|
|
|
|
rev = "v${version}";
|
2022-01-28 00:01:46 +00:00
|
|
|
sha256 = "sha256-R8lGewsEOxPNbKlkIeiM4yIwUcTzi2Dm0+xJ2WrBTBQ=";
|
2018-10-28 09:42:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-10-28 09:42:19 +00:00
|
|
|
description = "Minimalistic protocol buffer decoder and encoder in C++";
|
|
|
|
homepage = "https://github.com/mapbox/protozero";
|
|
|
|
license = with licenses; [ bsd2 asl20 ];
|
2022-01-28 00:05:02 +00:00
|
|
|
changelog = [
|
|
|
|
"https://github.com/mapbox/protozero/releases/tag/v${version}"
|
|
|
|
"https://github.com/mapbox/protozero/blob/v${version}/CHANGELOG.md"
|
|
|
|
];
|
2018-10-28 09:42:19 +00:00
|
|
|
maintainers = with maintainers; [ das-g ];
|
|
|
|
};
|
|
|
|
}
|