From 15323be0aaad12b62fd86eb4ead95ce7bfdff654 Mon Sep 17 00:00:00 2001 From: Emile Date: Tue, 22 Jun 2021 11:20:20 +0200 Subject: [PATCH 1/2] maintainers: add hanemile --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 7c1c5aa2bd7a..0b7e3666b48e 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -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"; From c118430db0d4e2540f1d5783ebef89a4562f728f Mon Sep 17 00:00:00 2001 From: Emile Date: Tue, 22 Jun 2021 11:24:57 +0200 Subject: [PATCH 2/2] notify: init at 0.0.2 --- pkgs/tools/misc/notify/default.nix | 37 ++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 39 insertions(+) create mode 100644 pkgs/tools/misc/notify/default.nix diff --git a/pkgs/tools/misc/notify/default.nix b/pkgs/tools/misc/notify/default.nix new file mode 100644 index 000000000000..0d7e6af8363f --- /dev/null +++ b/pkgs/tools/misc/notify/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9cbd058bb58f..af86f48e564b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };