Merge pull request #180187 from aaronjheng/txtpbfmt
txtpbfmt: init at unstable-2022-06-08
This commit is contained in:
commit
6ad85d2ddb
24
pkgs/development/tools/txtpbfmt/default.nix
Normal file
24
pkgs/development/tools/txtpbfmt/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user