From a4093ff87ef8995c56281fef22375a80962e8d3e Mon Sep 17 00:00:00 2001 From: msglm Date: Mon, 26 Feb 2024 19:24:04 -0600 Subject: mbsync-notify added --- mbsync-notify.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 mbsync-notify.scm (limited to 'mbsync-notify.scm') diff --git a/mbsync-notify.scm b/mbsync-notify.scm new file mode 100644 index 0000000..edd6f44 --- /dev/null +++ b/mbsync-notify.scm @@ -0,0 +1,36 @@ +(define-module (mbsync-notify) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (guix build-system copy) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (gnu packages mail) + #:use-module (gnu packages gnome) + ) + +(define-public mbsync-notify + (package + (name "mbsync-notify") + (version "1.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.techchud.xyz/mbsync-notify") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1d3xcr8ny8iihqr1da23sicn8wn5x0pxx549by6r53yw3f6shbhj")))) + (build-system copy-build-system) + (inputs + (list + isync + libnotify + )) + (arguments + '(#:install-plan '(("mbsync-notify" "/bin/mbsync-notify")))) + (synopsis "Adds notifications to mbsync") + (description + "Shell script that gets all emails, then notifies you of new ones.") + (home-page "https://git.techchud.xyz/mbsync-notify/") + (license agpl3))) -- cgit v1.2.3