txtpbfmt: 0-unstable-2024-06-11 -> 0-unstable-2024-11-12 (#358297)

This commit is contained in:
Jenny 2024-11-24 14:34:55 +01:00 committed by GitHub
commit e348df2e77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,25 +1,37 @@
{ lib, buildGoModule, fetchFromGitHub }: {
lib,
buildGoModule,
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=";
ldflags = [ "-s" "-w" ]; ldflags = [
"-s"
"-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";
}; };
} }