summary refs log blame commit diff
path: root/pkgs/development/tools/txtpbfmt/default.nix
blob: 757e1e560bef7db3cc868458bcf93308e1e1208d (plain) (tree)
1
2
3
4
5
6
7
8
9



                                        
                                  



                              

                                                                 

    
                                                                     









                                                             
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "txtpbfmt";
  version = "unstable-2023-03-28";

  src = fetchFromGitHub {
    owner = "protocolbuffers";
    repo = "txtpbfmt";
    rev = "3462fbc510c07c0844c2e370719c9c18302f476f";
    hash = "sha256-vvkZWDGrId164K6jhMXNa5BtOxQSgFDhMACGAH+9F08=";
  };

  vendorHash = "sha256-IdD+R8plU4/e9fQaGSM5hJxyMECb6hED0Qg8afwHKbY=";

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    description = "Formatter for text proto files";
    homepage = "https://github.com/protocolbuffers/txtpbfmt";
    license = licenses.asl20;
    maintainers = with maintainers; [ aaronjheng ];
  };
}