diff options
Diffstat (limited to 'pkgs/tools/networking/goimapnotify/default.nix')
-rw-r--r-- | pkgs/tools/networking/goimapnotify/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/networking/goimapnotify/default.nix b/pkgs/tools/networking/goimapnotify/default.nix new file mode 100644 index 000000000000..fb64ff65cc15 --- /dev/null +++ b/pkgs/tools/networking/goimapnotify/default.nix @@ -0,0 +1,26 @@ +{ buildGoPackage, fetchFromGitLab, lib }: + +buildGoPackage rec { + pname = "goimapnotify"; + version = "2.0"; + + goPackagePath = "gitlab.com/shackra/goimapnotify"; + + src = fetchFromGitLab { + owner = "shackra"; + repo = "goimapnotify"; + rev = "${version}"; + sha256 = "1d42gd3m2rkvy985d181dbcm5i3f7xsg2z8z6s4bpvw24pfnzs42"; + }; + + goDeps = ./deps.nix; + + meta = with lib; { + description = + "Execute scripts on IMAP mailbox changes (new/deleted/updated messages) using IDLE"; + homepage = "https://gitlab.com/shackra/goimapnotify"; + license = licenses.gpl3Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ wohanley ]; + }; +} |