···22, lib
33, buildGoModule
44, fetchFromGitHub
55-, fetchurl
65, Cocoa
76, installShellFiles
87}:
98109buildGoModule rec {
1110 pname = "noti";
1212- version = "3.5.0";
1111+ version = "3.6.0";
13121413 src = fetchFromGitHub {
1514 owner = "variadico";
1615 repo = "noti";
1716 rev = version;
1818- sha256 = "12r9wawwl6x0rfv1kahwkamfa0pjq24z60az9pn9nsi2z1rrlwkd";
1717+ sha256 = "sha256-FhVpw6PJcm0aYQBlN7AUjOkJgCzleOHXIXumSegtxfA=";
1918 };
20192121- patches = [
2222- # update golang.org/x/sys to fix building on aarch64-darwin
2323- # using fetchurl because fetchpatch breaks the patch
2424- (fetchurl {
2525- url = "https://github.com/variadico/noti/commit/a90bccfdb2e6a0adc2e92f9a4e7be64133832ba9.patch";
2626- sha256 = "sha256-vSAwuAR9absMSFqGOlzmRZoOGC/jpkmh8CMCVjeleUo=";
2727- })
2828- ];
2929-3020 vendorSha256 = null;
31213222 nativeBuildInputs = [ installShellFiles ];
···3828 "-w"
3929 "-X github.com/variadico/noti/internal/command.Version=${version}"
4030 ];
3131+3232+ preCheck = ''
3333+ export PATH=$out/bin:$PATH
3434+ '';
41354236 postInstall = ''
4343- installManPage docs/man/*
3737+ installManPage docs/man/dist/*
4438 '';
45394640 meta = with lib; {
···4842 longDescription = ''
4943 Monitor a process and trigger a notification.
50445151- 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.
4545+ Never sit and wait for some long-running process to finish. Noti can alert
4646+ you when it's done. You can receive messages on your computer or phone.
5247 '';
5348 homepage = "https://github.com/variadico/noti";
5449 license = licenses.mit;