3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/goimapnotify/default.nix
Pavol Rusnak 2c931312ce treewide: simplify rev/repo arguments in src
+ use fetchFromGithub where possible
2020-11-01 23:02:24 -08:00

27 lines
669 B
Nix

{ 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 ];
};
}