nixpkgs/pkgs/development/tools/go-protobuf/default.nix
2022-04-25 18:53:08 -03:00

24 lines
603 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "go-protobuf";
version = "1.5.2";
src = fetchFromGitHub {
owner = "golang";
repo = "protobuf";
rev = "v${version}";
sha256 = "sha256-E/6Qh8hWilaGeSojOCz8PzP9qnVqNG2DQLYJUqN3BdY=";
};
vendorSha256 = "sha256-CcJjFMslSUiZMM0LLMM3BR53YMxyWk8m7hxjMI9tduE=";
meta = with lib; {
homepage = "https://github.com/golang/protobuf";
description = " Go bindings for protocol buffer";
maintainers = with maintainers; [ lewo ];
license = licenses.bsd3;
platforms = platforms.unix;
};
}