diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2022-10-14 04:20:00 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2022-10-14 04:20:00 +0000 |
commit | cb2bc52be55d12221979570750fd820dff470dc9 (patch) | |
tree | 92b5169b5f0313e403ea2f8feefed29778cfd803 /pkgs/tools | |
parent | 31d567846255e122846548255101980162bbf641 (diff) |
noti: 3.5.0 -> 3.6.0
https://github.com/variadico/noti/releases/tag/3.6.0
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/noti/default.nix | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/pkgs/tools/misc/noti/default.nix b/pkgs/tools/misc/noti/default.nix index ac3ff7a59b704..bebe77faaa7d4 100644 --- a/pkgs/tools/misc/noti/default.nix +++ b/pkgs/tools/misc/noti/default.nix @@ -2,31 +2,21 @@ , lib , buildGoModule , fetchFromGitHub -, fetchurl , Cocoa , installShellFiles }: buildGoModule rec { pname = "noti"; - version = "3.5.0"; + version = "3.6.0"; src = fetchFromGitHub { owner = "variadico"; repo = "noti"; rev = version; - sha256 = "12r9wawwl6x0rfv1kahwkamfa0pjq24z60az9pn9nsi2z1rrlwkd"; + sha256 = "sha256-FhVpw6PJcm0aYQBlN7AUjOkJgCzleOHXIXumSegtxfA="; }; - patches = [ - # update golang.org/x/sys to fix building on aarch64-darwin - # using fetchurl because fetchpatch breaks the patch - (fetchurl { - url = "https://github.com/variadico/noti/commit/a90bccfdb2e6a0adc2e92f9a4e7be64133832ba9.patch"; - sha256 = "sha256-vSAwuAR9absMSFqGOlzmRZoOGC/jpkmh8CMCVjeleUo="; - }) - ]; - vendorSha256 = null; nativeBuildInputs = [ installShellFiles ]; @@ -39,8 +29,12 @@ buildGoModule rec { "-X github.com/variadico/noti/internal/command.Version=${version}" ]; + preCheck = '' + export PATH=$out/bin:$PATH + ''; + postInstall = '' - installManPage docs/man/* + installManPage docs/man/dist/* ''; meta = with lib; { @@ -48,7 +42,8 @@ buildGoModule rec { longDescription = '' Monitor a process and trigger a notification. - Never sit and wait for some long-running process to finish. Noti can alert you when it's done. You can receive messages on your computer or phone. + Never sit and wait for some long-running process to finish. Noti can alert + you when it's done. You can receive messages on your computer or phone. ''; homepage = "https://github.com/variadico/noti"; license = licenses.mit; |