Merge pull request #180187 from aaronjheng/txtpbfmt

txtpbfmt: init at unstable-2022-06-08
This commit is contained in:
Rick van Schijndel 2022-07-26 23:47:00 +02:00 committed by GitHub
commit 6ad85d2ddb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "txtpbfmt";
version = "unstable-2022-06-08";
src = fetchFromGitHub {
owner = "protocolbuffers";
repo = "txtpbfmt";
rev = "fc78c767cd6a4e6e3953f5d72f1e0e4c5811990b";
sha256 = "sha256-5Pj2REFrzWCzrqdplNlyfX+sJqPjXEld6MFNy0S3MFM=";
};
vendorSha256 = "sha256-shjcQ3DJQYeAW0bX3OuF/esgIvrQ4yuLEa677iFV82g=";
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 ];
};
}

View File

@ -11442,6 +11442,10 @@ with pkgs;
ttylog = callPackage ../tools/misc/ttylog { };
txtpbfmt = callPackage ../development/tools/txtpbfmt {
buildGoModule = buildGo118Module;
};
ipbt = callPackage ../tools/misc/ipbt { };
tuhi = callPackage ../applications/misc/tuhi { };