protozero: modernize

This commit is contained in:
Nikolay Korotkiy
2025-01-13 19:45:51 +04:00
parent 0741b8fdce
commit 2a4d344b9a
+9 -9
View File
@@ -5,30 +5,30 @@
cmake,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "protozero";
version = "1.8.0";
src = fetchFromGitHub {
owner = "mapbox";
repo = "protozero";
rev = "v${version}";
sha256 = "sha256-kqR0YLxkRu8WclxaoR/zx+2sRTEZus7dUTbqjBkv12U=";
tag = "v${finalAttrs.version}";
hash = "sha256-kqR0YLxkRu8WclxaoR/zx+2sRTEZus7dUTbqjBkv12U=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
meta = {
description = "Minimalistic protocol buffer decoder and encoder in C++";
homepage = "https://github.com/mapbox/protozero";
license = with licenses; [
license = with lib.licenses; [
bsd2
asl20
];
changelog = [
"https://github.com/mapbox/protozero/releases/tag/v${version}"
"https://github.com/mapbox/protozero/blob/v${version}/CHANGELOG.md"
"https://github.com/mapbox/protozero/releases/tag/v${finalAttrs.version}"
"https://github.com/mapbox/protozero/blob/v${finalAttrs.version}/CHANGELOG.md"
];
maintainers = with maintainers; teams.geospatial.members ++ [ das-g ];
maintainers = lib.teams.geospatial.members ++ (with lib.maintainers; [ das-g ]);
};
}
})