File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 55 installShellFiles ,
66} :
77
8- buildGoModule rec {
8+ buildGoModule ( finalAttrs : rec {
99 pname = "noti" ;
10- version = "3.7 .0" ;
10+ version = "3.8 .0" ;
1111
1212 src = fetchFromGitHub {
1313 owner = "variadico" ;
1414 repo = "noti" ;
15- rev = version ;
16- hash = "sha256-8CHSbKOiWNYqKBU1kqQm5t02DJq0JfoIaPsU6Ylc46E =" ;
15+ tag = finalAttrs . version ;
16+ hash = "sha256-FwOS4ifMiODIzKVQufLhkDYOcmXz9dAfWw+hM3rXT/Y =" ;
1717 } ;
1818
1919 vendorHash = null ;
2020
2121 nativeBuildInputs = [ installShellFiles ] ;
2222
23+ subPackages = [ "cmd/noti" ] ;
24+
2325 ldflags = [
2426 "-s"
2527 "-w"
26- "-X github.com/variadico/noti/internal/command.Version=${ version } "
28+ "-X github.com/variadico/noti/internal/command.Version=${ finalAttrs . version } "
2729 ] ;
2830
2931 preCheck = ''
@@ -34,7 +36,7 @@ buildGoModule rec {
3436 installManPage docs/man/dist/*
3537 '' ;
3638
37- meta = with lib ; {
39+ meta = {
3840 description = "Monitor a process and trigger a notification" ;
3941 longDescription = ''
4042 Monitor a process and trigger a notification.
@@ -43,8 +45,8 @@ buildGoModule rec {
4345 you when it's done. You can receive messages on your computer or phone.
4446 '' ;
4547 homepage = "https://github.com/variadico/noti" ;
46- license = licenses . mit ;
47- maintainers = with maintainers ; [ stites ] ;
48+ license = lib . licenses . mit ;
49+ maintainers = [ lib . maintainers . stites ] ;
4850 mainProgram = "noti" ;
4951 } ;
50- }
52+ } )
You can’t perform that action at this time.
0 commit comments