File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 44 fetchFromGitHub ,
55 ...
66} :
7- let
8- version = "0.2.0" ;
9- in
10- buildGoModule {
7+ buildGoModule ( finalAttrs : {
118 pname = "izrss" ;
12- inherit version ;
9+ version = "0.2.0" ;
1310
1411 src = fetchFromGitHub {
1512 owner = "isabelroses" ;
1613 repo = "izrss" ;
17- tag = "v${ version } " ;
14+ tag = "v${ finalAttrs . version } " ;
1815 hash = "sha256-t+RtdKrYI0MNGSR1ABvClKv+hUJ4Tpg7yKS2qbm7BKc=" ;
1916 } ;
2017
2118 ldflags = [
2219 "-s"
2320 "-w"
24- "-X main.version=${ version } "
21+ "-X main.version=${ finalAttrs . version } "
2522 ] ;
2623
2724 vendorHash = "sha256-2L/EUoPbz6AZqv84XPhiZhImOL4wyBOzx6Od4+nTJeY=" ;
2825
2926 meta = {
3027 description = "RSS feed reader for the terminal written in Go" ;
31- changelog = "https://github.com/isabelroses/izrss/releases/v${ version } " ;
28+ changelog = "https://github.com/isabelroses/izrss/releases/v${ finalAttrs . version } " ;
3229 homepage = "https://github.com/isabelroses/izrss" ;
3330 license = lib . licenses . gpl3Plus ;
3431 maintainers = with lib . maintainers ; [
@@ -37,4 +34,4 @@ buildGoModule {
3734 ] ;
3835 mainProgram = "izrss" ;
3936 } ;
40- }
37+ } )
You can’t perform that action at this time.
0 commit comments