36 lines
839 B
Nix
36 lines
839 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "protozero";
|
|
version = "1.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mapbox";
|
|
repo = "protozero";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-kqR0YLxkRu8WclxaoR/zx+2sRTEZus7dUTbqjBkv12U=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = {
|
|
description = "Minimalistic protocol buffer decoder and encoder in C++";
|
|
homepage = "https://github.com/mapbox/protozero";
|
|
license = with lib.licenses; [
|
|
bsd2
|
|
asl20
|
|
];
|
|
changelog = [
|
|
"https://github.com/mapbox/protozero/releases/tag/v${finalAttrs.version}"
|
|
"https://github.com/mapbox/protozero/blob/v${finalAttrs.version}/CHANGELOG.md"
|
|
];
|
|
maintainers = with lib.maintainers; [ das-g ];
|
|
teams = [ lib.teams.geospatial ];
|
|
};
|
|
})
|