python312Packages.types-aiobotocore: 2.15.2 -> 2.15.2.post3 (#361801)
[NixPkgs.git] / pkgs / by-name / tx / txtpbfmt / package.nix
blob3e2dba38d4129608eb8862bb112507af1e33ec6d
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5   nix-update-script,
6 }:
8 buildGoModule {
9   pname = "txtpbfmt";
10   version = "0-unstable-2024-11-12";
12   src = fetchFromGitHub {
13     owner = "protocolbuffers";
14     repo = "txtpbfmt";
15     rev = "20d2c9ebc01daa87ca2b7b697a757613012b104d";
16     hash = "sha256-gCGJQldwTa6Lq7Fvc4NAVRpmMs204qeKEsNFEjErTMA=";
17   };
19   vendorHash = "sha256-IdD+R8plU4/e9fQaGSM5hJxyMECb6hED0Qg8afwHKbY=";
21   ldflags = [
22     "-s"
23     "-w"
24   ];
26   passthru.updateScript = nix-update-script {
27     extraArgs = [ "--version=branch" ];
28   };
30   meta = {
31     description = "Formatter for text proto files";
32     homepage = "https://github.com/protocolbuffers/txtpbfmt";
33     license = lib.licenses.asl20;
34     maintainers = with lib.maintainers; [ aaronjheng ];
35     mainProgram = "txtpbfmt";
36   };