depot/third_party/nixpkgs/pkgs/development/libraries/protozero/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

26 lines
765 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "protozero";
version = "1.7.1";
src = fetchFromGitHub {
owner = "mapbox";
repo = "protozero";
rev = "v${version}";
sha256 = "sha256-R8lGewsEOxPNbKlkIeiM4yIwUcTzi2Dm0+xJ2WrBTBQ=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Minimalistic protocol buffer decoder and encoder in C++";
homepage = "https://github.com/mapbox/protozero";
license = with licenses; [ bsd2 asl20 ];
changelog = [
"https://github.com/mapbox/protozero/releases/tag/v${version}"
"https://github.com/mapbox/protozero/blob/v${version}/CHANGELOG.md"
];
maintainers = with maintainers; teams.geospatial.members ++ [ das-g ];
};
}