at 22.05-pre 37 lines 918 B view raw
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "notify"; 8 version = "1.0.0"; 9 10 src = fetchFromGitHub { 11 owner = "projectdiscovery"; 12 repo = pname; 13 rev = "v${version}"; 14 sha256 = "sha256-grTHSMN4PpsCo5mST6nXE5+u7DewMVJXI3hnNIJdhLs="; 15 }; 16 17 vendorSha256 = "sha256-BbhDNy3FmnHzAfv3lxPwL2jhp8Opfo0WVFhncfTO/28="; 18 19 modRoot = "."; 20 subPackages = [ 21 "cmd/notify/" 22 ]; 23 24 # Test files are not part of the release tarball 25 doCheck = false; 26 27 meta = with lib; { 28 description = "Notify allows sending the output from any tool to Slack, Discord and Telegram"; 29 longDescription = '' 30 Notify is a helper utility written in Go that allows you to post the output from any tool 31 to Slack, Discord, and Telegram. 32 ''; 33 homepage = "https://github.com/projectdiscovery/notify"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ hanemile ]; 36 }; 37}