nixpkgs/pkgs/development/tools/go-protobuf/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
601 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "go-protobuf";
2023-03-12 04:00:12 +00:00
version = "1.5.3";
src = fetchFromGitHub {
owner = "golang";
repo = "protobuf";
rev = "v${version}";
2023-03-12 04:00:12 +00:00
sha256 = "sha256-cRB4oicBfYvhqtzafWWmf82AuvSnB0NhHwpp0pjgwQ0=";
};
2023-03-12 04:00:12 +00:00
vendorHash = "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;
};
}