2022-08-12 12:06:08 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
buildGoModule {
|
2022-08-12 12:06:08 +00:00
|
|
|
pname = "txtpbfmt";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "unstable-2023-10-25";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "protocolbuffers";
|
|
|
|
repo = "txtpbfmt";
|
2024-01-02 11:29:13 +00:00
|
|
|
rev = "084445ff1adf0d8a27429bba65dbde5663f02d26";
|
|
|
|
hash = "sha256-SoU1GON9avesty6FSZ+z6o2JHInUtwv+PVOzqCu+8L8=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
vendorHash = "sha256-IdD+R8plU4/e9fQaGSM5hJxyMECb6hED0Qg8afwHKbY=";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|