diff --git a/pkgs/by-name/f2/f2/package.nix b/pkgs/by-name/f2/f2/package.nix index f97c2b8e80c6..820b2b5d2f59 100644 --- a/pkgs/by-name/f2/f2/package.nix +++ b/pkgs/by-name/f2/f2/package.nix @@ -1,28 +1,36 @@ -{ lib, fetchFromGitHub, buildGoModule }: +{ + lib, + fetchFromGitHub, + buildGoModule, +}: buildGoModule rec { pname = "f2"; - version = "1.9.1"; + version = "2.0.1"; src = fetchFromGitHub { owner = "ayoisaiah"; repo = "f2"; rev = "v${version}"; - sha256 = "sha256-vpyI6WtK/0UpPiB8y+HpPd0IsKKkMHa/eIreYo32iAA="; + sha256 = "sha256-z2w+1dAwd3108J+ApHn2rj9duW9qObd3AZJXyt0811c="; }; - vendorHash = "sha256-Bz3Igjcyq4rkMkgv1J3+JiAqroAjxyAvHw4d4eZJgAM="; + vendorHash = "sha256-xKw9shfAtRjD0f4BGALM5VPjGOaYz1IqXWcctHcV/p8="; - ldflags = [ "-s" "-w" "-X=main.Version=${version}" ]; + ldflags = [ + "-s" + "-w" + "-X=main.Version=${version}" + ]; # has no tests doCheck = false; - meta = with lib; { + meta = { description = "Command-line batch renaming tool"; homepage = "https://github.com/ayoisaiah/f2"; - license = licenses.mit; - maintainers = with maintainers; [ zendo ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ zendo ]; mainProgram = "f2"; }; }