2025-07-15 19:03:49 +00:00

36 lines
839 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "protozero";
version = "1.8.1";
src = fetchFromGitHub {
owner = "mapbox";
repo = "protozero";
tag = "v${finalAttrs.version}";
hash = "sha256-69GEAz6wSGMGozsWS9xmoTgyH8mTuDM9mUTCXfVI6f8=";
};
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 ];
};
})