From fae8a017cf6dda1326bc8513dfc55d152e5b3461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Capucho?= Date: Wed, 24 Aug 2022 12:20:23 +0100 Subject: [PATCH] notify: 1.0.0 -> 1.0.2 --- pkgs/tools/misc/notify/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/notify/default.nix b/pkgs/tools/misc/notify/default.nix index 8210dac327e6..9f84a7a867dc 100644 --- a/pkgs/tools/misc/notify/default.nix +++ b/pkgs/tools/misc/notify/default.nix @@ -1,20 +1,21 @@ { lib , buildGoModule , fetchFromGitHub +, nix-update-script }: buildGoModule rec { pname = "notify"; - version = "1.0.0"; + version = "1.0.2"; src = fetchFromGitHub { owner = "projectdiscovery"; repo = pname; rev = "v${version}"; - sha256 = "sha256-grTHSMN4PpsCo5mST6nXE5+u7DewMVJXI3hnNIJdhLs="; + sha256 = "sha256-VRMwyVaTUJ+dDqewDGNZR1jH2EmDq1b42he7andh+/Q="; }; - vendorSha256 = "sha256-BbhDNy3FmnHzAfv3lxPwL2jhp8Opfo0WVFhncfTO/28="; + vendorSha256 = "sha256-JsEKtE3N7C+BA3SanYwX17uJcFmbzPMWl5tUYPLCRdQ="; modRoot = "."; subPackages = [ @@ -24,6 +25,10 @@ buildGoModule rec { # Test files are not part of the release tarball doCheck = false; + passthru = { + updateScript = nix-update-script { attrPath = pname; }; + }; + meta = with lib; { description = "Notify allows sending the output from any tool to Slack, Discord and Telegram"; longDescription = ''