depot/third_party/nixpkgs/pkgs/development/tools/protoscope/default.nix
Default email 92b3d6365d Project import generated by Copybara.
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
2022-10-30 16:09:59 +01:00

24 lines
715 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "protoscope";
version = "unstable-2022-10-04";
src = fetchFromGitHub {
owner = "protocolbuffers";
repo = "protoscope";
rev = "8b1d63939ee1a5d922b38f3976e1e58cae525163";
sha256 = "sha256-/vt02rvKVsryJZ+Bw4QLaGzDErGI04/4NUbSBkbbN3Y=";
};
vendorSha256 = "sha256-mK8eGo6oembs4nofvROn4g0+oO5E5/zQrmPKMe3xXik=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Simple, human-editable language for representing and emitting the Protobuf wire format";
homepage = "https://github.com/protocolbuffers/protoscope";
license = licenses.asl20;
maintainers = with maintainers; [ aaronjheng ];
};
}