Merge pull request #335746 from katexochen/gofumpt/0-7-0

gofumpt: 0.6.0 -> 0.7.0
This commit is contained in:
Paul Meyer 2024-08-20 16:02:03 +02:00 committed by GitHub
commit 98f1796d19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,29 +1,29 @@
{ lib {
, buildGoModule lib,
, fetchFromGitHub buildGoModule,
, nix-update-script fetchFromGitHub,
, testers nix-update-script,
, gofumpt testers,
gofumpt,
}: }:
buildGoModule rec { buildGoModule rec {
pname = "gofumpt"; pname = "gofumpt";
version = "0.6.0"; version = "0.7.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mvdan"; owner = "mvdan";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-94aaLqoalFredkxaSPgJEnFtKw7GmkkL5N+I8ws9zxY="; hash = "sha256-mJM0uKztX0OUQvynnxeKL9yft7X/Eh28ERg8SbZC5Ws=";
}; };
vendorHash = "sha256-q8+Blzab9TLTRY2/KncIlVp53+K6YWzg1D0SS7FPM9I="; vendorHash = "sha256-kJysyxROvB0eMAHbvNF+VXatEicn4ln2Vqkzp7GDWAQ=";
CGO_ENABLED = "0"; CGO_ENABLED = "0";
ldflags = [ ldflags = [
"-s" "-s"
"-w"
"-X main.version=v${version}" "-X main.version=v${version}"
]; ];
@ -45,7 +45,10 @@ buildGoModule rec {
homepage = "https://github.com/mvdan/gofumpt"; homepage = "https://github.com/mvdan/gofumpt";
changelog = "https://github.com/mvdan/gofumpt/releases/tag/v${version}"; changelog = "https://github.com/mvdan/gofumpt/releases/tag/v${version}";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ rvolosatovs katexochen ]; maintainers = with maintainers; [
rvolosatovs
katexochen
];
mainProgram = "gofumpt"; mainProgram = "gofumpt";
}; };
} }