Skip to content

Commit

Permalink
protozero: modernize
Browse files Browse the repository at this point in the history
  • Loading branch information
sikmir committed Jan 13, 2025
1 parent 0741b8f commit 2a4d344
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions pkgs/by-name/pr/protozero/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]);
};
}
})

0 comments on commit 2a4d344

Please sign in to comment.