nixpkgs/pkgs/development/libraries/protozero/default.nix

23 lines
570 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake }:
2018-10-28 09:42:19 +00:00
stdenv.mkDerivation rec {
pname = "protozero";
2020-06-11 05:04:28 +01:00
version = "1.7.0";
2018-10-28 09:42:19 +00:00
src = fetchFromGitHub {
owner = "mapbox";
repo = "protozero";
rev = "v${version}";
2020-06-11 05:04:28 +01:00
sha256 = "0fdihfl5j68wayjjxvpvhvnjq1anzcfnfl09f68wpzbkg3zmhblz";
2018-10-28 09:42:19 +00:00
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
2018-10-28 09:42:19 +00:00
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 ];
};
}