f2: 1.9.1 -> 2.0.1 (#356620)

This commit is contained in:
Peder Bergebakken Sundt 2024-11-24 03:49:34 +01:00 committed by GitHub
commit 55611438f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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";
};
}