File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 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+ } )
You can’t perform that action at this time.
0 commit comments