summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbsync-notify.scm36
1 files changed, 36 insertions, 0 deletions
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)))