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