Unverified Commit 2a4d344b authored by Nikolay Korotkiy's avatar Nikolay Korotkiy
Browse files

protozero: modernize

parent 0741b8fd
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -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 ]);
  };
}
})