mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
23 lines
570 B
Nix
23 lines
570 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "protozero";
|
|
version = "1.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mapbox";
|
|
repo = "protozero";
|
|
rev = "v${version}";
|
|
sha256 = "0fdihfl5j68wayjjxvpvhvnjq1anzcfnfl09f68wpzbkg3zmhblz";
|
|
};
|
|
|
|
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 ];
|
|
maintainers = with maintainers; [ das-g ];
|
|
};
|
|
}
|