Merge pull request #195911 from marsam/update-noti

noti: 3.5.0 -> 3.6.0

authored by Mario Rodas and committed by GitHub 2c217aa5 fc0f6783

+9 -14
+9 -14
pkgs/tools/misc/noti/default.nix
··· 2 2 , lib 3 3 , buildGoModule 4 4 , fetchFromGitHub 5 - , fetchurl 6 5 , Cocoa 7 6 , installShellFiles 8 7 }: 9 8 10 9 buildGoModule rec { 11 10 pname = "noti"; 12 - version = "3.5.0"; 11 + version = "3.6.0"; 13 12 14 13 src = fetchFromGitHub { 15 14 owner = "variadico"; 16 15 repo = "noti"; 17 16 rev = version; 18 - sha256 = "12r9wawwl6x0rfv1kahwkamfa0pjq24z60az9pn9nsi2z1rrlwkd"; 17 + sha256 = "sha256-FhVpw6PJcm0aYQBlN7AUjOkJgCzleOHXIXumSegtxfA="; 19 18 }; 20 19 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 20 vendorSha256 = null; 31 21 32 22 nativeBuildInputs = [ installShellFiles ]; ··· 38 28 "-w" 39 29 "-X github.com/variadico/noti/internal/command.Version=${version}" 40 30 ]; 31 + 32 + preCheck = '' 33 + export PATH=$out/bin:$PATH 34 + ''; 41 35 42 36 postInstall = '' 43 - installManPage docs/man/* 37 + installManPage docs/man/dist/* 44 38 ''; 45 39 46 40 meta = with lib; { ··· 48 42 longDescription = '' 49 43 Monitor a process and trigger a notification. 50 44 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. 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. 52 47 ''; 53 48 homepage = "https://github.com/variadico/noti"; 54 49 license = licenses.mit;