Skip to content

Commit 7a7abee

Browse files
authored
f2: 2.0.3 -> 2.1.1 (#407252)
2 parents 6315e9c + 74453f2 commit 7a7abee

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pkgs/by-name/f2/f2/package.nix

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@
44
buildGoModule,
55
}:
66

7-
buildGoModule rec {
7+
buildGoModule (finalAttrs: {
88
pname = "f2";
9-
version = "2.0.3";
9+
version = "2.1.1";
1010

1111
src = fetchFromGitHub {
1212
owner = "ayoisaiah";
1313
repo = "f2";
14-
rev = "v${version}";
15-
sha256 = "sha256-AjuWaSEP2X3URZBPD05laV32ms/pULooSQKXUz8sqsU=";
14+
tag = "v${finalAttrs.version}";
15+
hash = "sha256-hl4giLTQtqJiPseiTzWPtksEYlyQpE1UOC7JMUF9v4Y=";
1616
};
1717

18-
vendorHash = "sha256-xKw9shfAtRjD0f4BGALM5VPjGOaYz1IqXWcctHcV/p8=";
18+
vendorHash = "sha256-xeylGT32bGMJjGdpQQH8DBpqxtvMxpqSEsLPbeoUzl4=";
1919

2020
ldflags = [
2121
"-s"
2222
"-w"
23-
"-X=main.Version=${version}"
23+
"-X=github.com/ayoisaiah/f2/v2/app.VersionString=${finalAttrs.version}"
2424
];
2525

2626
# has no tests
@@ -33,4 +33,4 @@ buildGoModule rec {
3333
maintainers = with lib.maintainers; [ zendo ];
3434
mainProgram = "f2";
3535
};
36-
}
36+
})

0 commit comments

Comments
 (0)