Skip to content

Commit

Permalink
goimapnotify: 2.0 -> 2.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhoeg committed Aug 29, 2021
1 parent 816fa4a commit 8d8a28b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions pkgs/tools/networking/goimapnotify/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{ buildGoPackage, fetchFromGitLab, lib, runtimeShell }:
{ buildGoModule, fetchFromGitLab, lib, runtimeShell }:

buildGoPackage rec {
buildGoModule rec {
pname = "goimapnotify";
version = "2.0";

goPackagePath = "gitlab.com/shackra/goimapnotify";
version = "2.3.2";

src = fetchFromGitLab {
owner = "shackra";
repo = "goimapnotify";
rev = version;
sha256 = "1d42gd3m2rkvy985d181dbcm5i3f7xsg2z8z6s4bpvw24pfnzs42";
sha256 = "sha256-pkpdIkabxz9bu0LnyU1/wu1qqPc/pQqCn8tePc2fIfg=";
};

vendorSha256 = "sha256-4+2p/7BAEk+1V0TII9Q2O2YNX0rvBiw2Ss7k1dsvUbk=";

postPatch = ''
substituteInPlace command.go --replace '"sh"' '"${runtimeShell}"'
for f in command.go command_test.go; do
substituteInPlace $f --replace '"sh"' '"${runtimeShell}"'
done
'';

goDeps = ./deps.nix;

meta = with lib; {
description =
"Execute scripts on IMAP mailbox changes (new/deleted/updated messages) using IDLE";
Expand Down

0 comments on commit 8d8a28b

Please sign in to comment.