Merge pull request #127774 from HanEmile/submit/add-notify-package
This commit is contained in:
commit
db67c0493d
3 changed files with 45 additions and 0 deletions
|
@ -4017,6 +4017,12 @@
|
|||
githubId = 1742172;
|
||||
name = "Hamish Hutchings";
|
||||
};
|
||||
hanemile = {
|
||||
email = "mail@emile.space";
|
||||
github = "hanemile";
|
||||
githubId = 22756350;
|
||||
name = "Emile Hansmaennel";
|
||||
};
|
||||
hansjoergschurr = {
|
||||
email = "commits@schurr.at";
|
||||
github = "hansjoergschurr";
|
||||
|
|
37
pkgs/tools/misc/notify/default.nix
Normal file
37
pkgs/tools/misc/notify/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "notify";
|
||||
version = "0.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "projectdiscovery";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1nlsl4himxs5jv0fcd48jkwjnmn1w3alp0dcm1awmp6702zrsgqj";
|
||||
};
|
||||
|
||||
vendorSha256 = "13dz0sk3561hrixsl1ghr9y0pzap2a8zrlbzzb7zs7550snbdcyg";
|
||||
|
||||
modRoot = ".";
|
||||
subPackages = [
|
||||
"cmd/notify/"
|
||||
];
|
||||
|
||||
# Test files are not part of the release tarball
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Notify allows sending the output from any tool to Slack, Discord and Telegram";
|
||||
longDescription = ''
|
||||
Notify is a helper utility written in Go that allows you to post the output from any tool
|
||||
to Slack, Discord, and Telegram.
|
||||
'';
|
||||
homepage = "https://github.com/projectdiscovery/notify";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hanemile ];
|
||||
};
|
||||
}
|
|
@ -3069,6 +3069,8 @@ in
|
|||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||
};
|
||||
|
||||
notify = callPackage ../tools/misc/notify { };
|
||||
|
||||
nrsc5 = callPackage ../applications/misc/nrsc5 { };
|
||||
|
||||
nwipe = callPackage ../tools/security/nwipe { };
|
||||
|
|
Loading…
Reference in a new issue