Files
nixpkgs/pkgs/by-name/no/notify/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

45 lines
1.0 KiB
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "notify";
version = "1.0.7";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = "notify";
rev = "v${version}";
sha256 = "sha256-QXioBUCMZ4ANkF2WOXiKUlExVq4abkaVFBd3efAGXMs=";
};
vendorHash = "sha256-jO9d+wJr03rqlPrQ3mmWOxOXw2kL+0x8YkkXu/Msm+Q=";
modRoot = ".";
subPackages = [
"cmd/notify/"
];
# Test files are not part of the release tarball
doCheck = false;
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
description = "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 ];
mainProgram = "notify";
};
}