From be9539b79400ae5a0179c20ee7feceba5f4581e5 Mon Sep 17 00:00:00 2001 From: Brian McGee Date: Fri, 29 Nov 2024 14:52:24 +0000 Subject: [PATCH] treefmt2: 2.1.0 -> 2.1.1 (#360123) --- pkgs/by-name/tr/treefmt2/package.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/tr/treefmt2/package.nix b/pkgs/by-name/tr/treefmt2/package.nix index 1a6c4d0049a2..46a3913cbadc 100644 --- a/pkgs/by-name/tr/treefmt2/package.nix +++ b/pkgs/by-name/tr/treefmt2/package.nix @@ -1,16 +1,16 @@ { lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "treefmt"; - version = "2.1.0"; + version = "2.1.1"; src = fetchFromGitHub { owner = "numtide"; repo = "treefmt"; rev = "v${version}"; - hash = "sha256-I97mCxQMPq6fV0GD9gVbtQ/i/Sju9/+ZazbkbGqy9Qw="; + hash = "sha256-XD61nZhdXYrFzprv/YuazjXK/NWP5a9oCF6WBO2XTY0="; }; - vendorHash = "sha256-PiH+FMSPeTFwS6cMgZX8Uy2bjZnQ+APqL5d7FMnqR9U="; + vendorHash = "sha256-0qCOpLMuuiYNCX2Lqa/DUlkmDoPIyUzUHIsghoIaG1s="; subPackages = [ "." ]; @@ -19,8 +19,8 @@ buildGoModule rec { ldflags = [ "-s" "-w" - "-X github.com/numtide/treefmt/build.Name=treefmt" - "-X github.com/numtide/treefmt/build.Version=v${version}" + "-X github.com/numtide/treefmt/v2/build.Name=treefmt" + "-X github.com/numtide/treefmt/v2/build.Version=v${version}" ]; meta = {