noti: 3.5.0 -> 3.6.0

https://github.com/variadico/noti/releases/tag/3.6.0

+9 -14
+9 -14
pkgs/tools/misc/noti/default.nix
··· 2 , lib 3 , buildGoModule 4 , fetchFromGitHub 5 - , fetchurl 6 , Cocoa 7 , installShellFiles 8 }: 9 10 buildGoModule rec { 11 pname = "noti"; 12 - version = "3.5.0"; 13 14 src = fetchFromGitHub { 15 owner = "variadico"; 16 repo = "noti"; 17 rev = version; 18 - sha256 = "12r9wawwl6x0rfv1kahwkamfa0pjq24z60az9pn9nsi2z1rrlwkd"; 19 }; 20 21 - patches = [ 22 - # update golang.org/x/sys to fix building on aarch64-darwin 23 - # using fetchurl because fetchpatch breaks the patch 24 - (fetchurl { 25 - url = "https://github.com/variadico/noti/commit/a90bccfdb2e6a0adc2e92f9a4e7be64133832ba9.patch"; 26 - sha256 = "sha256-vSAwuAR9absMSFqGOlzmRZoOGC/jpkmh8CMCVjeleUo="; 27 - }) 28 - ]; 29 - 30 vendorSha256 = null; 31 32 nativeBuildInputs = [ installShellFiles ]; ··· 38 "-w" 39 "-X github.com/variadico/noti/internal/command.Version=${version}" 40 ]; 41 42 postInstall = '' 43 - installManPage docs/man/* 44 ''; 45 46 meta = with lib; { ··· 48 longDescription = '' 49 Monitor a process and trigger a notification. 50 51 - 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. 52 ''; 53 homepage = "https://github.com/variadico/noti"; 54 license = licenses.mit;
··· 2 , lib 3 , buildGoModule 4 , fetchFromGitHub 5 , Cocoa 6 , installShellFiles 7 }: 8 9 buildGoModule rec { 10 pname = "noti"; 11 + version = "3.6.0"; 12 13 src = fetchFromGitHub { 14 owner = "variadico"; 15 repo = "noti"; 16 rev = version; 17 + sha256 = "sha256-FhVpw6PJcm0aYQBlN7AUjOkJgCzleOHXIXumSegtxfA="; 18 }; 19 20 vendorSha256 = null; 21 22 nativeBuildInputs = [ installShellFiles ]; ··· 28 "-w" 29 "-X github.com/variadico/noti/internal/command.Version=${version}" 30 ]; 31 + 32 + preCheck = '' 33 + export PATH=$out/bin:$PATH 34 + ''; 35 36 postInstall = '' 37 + installManPage docs/man/dist/* 38 ''; 39 40 meta = with lib; { ··· 42 longDescription = '' 43 Monitor a process and trigger a notification. 44 45 + Never sit and wait for some long-running process to finish. Noti can alert 46 + you when it's done. You can receive messages on your computer or phone. 47 ''; 48 homepage = "https://github.com/variadico/noti"; 49 license = licenses.mit;