1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 02:51:18 +00:00
nixpkgs/pkgs/tools/misc/notify/default.nix

38 lines
918 B
Nix
Raw Normal View History

2021-06-22 10:24:57 +01:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "notify";
2021-08-23 17:30:58 +01:00
version = "1.0.0";
2021-06-22 10:24:57 +01:00
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = pname;
rev = "v${version}";
2021-08-23 17:30:58 +01:00
sha256 = "sha256-grTHSMN4PpsCo5mST6nXE5+u7DewMVJXI3hnNIJdhLs=";
2021-06-22 10:24:57 +01:00
};
2021-08-23 17:30:58 +01:00
vendorSha256 = "sha256-BbhDNy3FmnHzAfv3lxPwL2jhp8Opfo0WVFhncfTO/28=";
2021-06-22 10:24:57 +01:00
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 ];
};
}