txtpbfmt: 0-unstable-2024-06-11 -> 0-unstable-2024-11-12

This commit is contained in:
Aaron Jheng 2024-11-23 11:02:37 +08:00
parent 99bcd61753
commit f6f10a2819
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3

View File

@ -2,17 +2,18 @@
lib, lib,
buildGoModule, buildGoModule,
fetchFromGitHub, fetchFromGitHub,
nix-update-script,
}: }:
buildGoModule { buildGoModule {
pname = "txtpbfmt"; pname = "txtpbfmt";
version = "0-unstable-2024-06-11"; version = "0-unstable-2024-11-12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "protocolbuffers"; owner = "protocolbuffers";
repo = "txtpbfmt"; repo = "txtpbfmt";
rev = "dedd929c1c222fd4d895cda0e1c87b940262b1f5"; rev = "20d2c9ebc01daa87ca2b7b697a757613012b104d";
hash = "sha256-L9btIjcQ3XMPzUrizoSEJ/Zj2xWphFAka3qtzm2mxP4="; hash = "sha256-gCGJQldwTa6Lq7Fvc4NAVRpmMs204qeKEsNFEjErTMA=";
}; };
vendorHash = "sha256-IdD+R8plU4/e9fQaGSM5hJxyMECb6hED0Qg8afwHKbY="; vendorHash = "sha256-IdD+R8plU4/e9fQaGSM5hJxyMECb6hED0Qg8afwHKbY=";
@ -22,11 +23,15 @@ buildGoModule {
"-w" "-w"
]; ];
meta = with lib; { passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
meta = {
description = "Formatter for text proto files"; description = "Formatter for text proto files";
homepage = "https://github.com/protocolbuffers/txtpbfmt"; homepage = "https://github.com/protocolbuffers/txtpbfmt";
license = licenses.asl20; license = lib.licenses.asl20;
maintainers = with maintainers; [ aaronjheng ]; maintainers = with lib.maintainers; [ aaronjheng ];
mainProgram = "txtpbfmt"; mainProgram = "txtpbfmt";
}; };
} }