mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
23 lines
567 B
Nix
23 lines
567 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "go-protobuf";
|
|
version = "1.5.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "golang";
|
|
repo = "protobuf";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-AfyZ6xlqmrsVqtoKV1XMEo/Vba9Kpu1EgwfF6pPSZ64=";
|
|
};
|
|
|
|
vendorHash = "sha256-jGAWUgW0DA7EwmlzVxnBmtbf2dp+P4Qwcb8mTAEhUi4=";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/golang/protobuf";
|
|
description = " Go bindings for protocol buffer";
|
|
maintainers = with maintainers; [ lewo ];
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|