File tree Expand file tree Collapse file tree 1 file changed +8
-13
lines changed
pkgs/by-name/go/gotestsum Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change 33 fetchFromGitHub ,
44 buildGoModule ,
55} :
6- let
7- version = "1.12.0" ;
8- in
9- buildGoModule {
6+ buildGoModule ( finalAttrs : {
107 pname = "gotestsum" ;
11-
12- # move back to stable releases when build is successful
13- version = "${ version } -unstable-2024-09-17" ;
8+ version = "1.12.1" ;
149
1510 src = fetchFromGitHub {
1611 owner = "gotestyourself" ;
1712 repo = "gotestsum" ;
18- rev = "2f61a73f997821b2e5a1823496e8362630e213f9 " ;
19- hash = "sha256-5zgchATcpoM4g5Mxex9wYanzrR0Pie9GYqx48toORkM =" ;
13+ tag = "v ${ finalAttrs . version } " ;
14+ hash = "sha256-nIdGon14bAaSxUmJNlpLztQVbA8SJ76+Ve46gbM0awk =" ;
2015 } ;
2116
22- vendorHash = "sha256-DR4AyEhgD71hFFEAnPfSxaWYFFV7FlPugZBHUjDynEE =" ;
17+ vendorHash = "sha256-x48jjd6cIX/M8U+5QwrKalt1iLgeQKeJItLJsxXrPgY =" ;
2318
2419 doCheck = false ;
2520
2621 ldflags = [
2722 "-s"
2823 "-w"
29- "-X gotest.tools/gotestsum/cmd.version=${ version } "
24+ "-X gotest.tools/gotestsum/cmd.version=${ finalAttrs . version } "
3025 ] ;
3126
3227 subPackages = [ "." ] ;
3328
3429 meta = {
3530 homepage = "https://github.com/gotestyourself/gotestsum" ;
36- changelog = "https://github.com/gotestyourself/gotestsum/releases/tag/v${ version } " ;
31+ changelog = "https://github.com/gotestyourself/gotestsum/releases/tag/v${ finalAttrs . version } " ;
3732 description = "Human friendly `go test` runner" ;
3833 mainProgram = "gotestsum" ;
3934 platforms = with lib . platforms ; linux ++ darwin ;
4035 license = lib . licenses . asl20 ;
4136 maintainers = with lib . maintainers ; [ isabelroses ] ;
4237 } ;
43- }
38+ } )
You can’t perform that action at this time.
0 commit comments