summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac5
-rw-r--r--guix.scm29
2 files changed, 34 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 330b5f1..49bc04c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,6 +16,11 @@ if test "x$have_guile_debbugs" != "xyes"; then
AC_MSG_ERROR([Guile-Debbugs is missing; please install it.])
fi
+GUILE_MODULE_AVAILABLE([have_guile_email], [(email email)])
+if test "x$have_guile_email" != "xyes"; then
+ AC_MSG_ERROR([guile-email is missing; please install it.])
+fi
+
GUILE_MODULE_AVAILABLE([have_mailutils], [(mailutils mailutils)])
if test "x$have_mailutils" != "xyes"; then
AC_MSG_ERROR([Guile bindings to mailutils are missing; please install them.])
diff --git a/guix.scm b/guix.scm
index 32877c9..9248039 100644
--- a/guix.scm
+++ b/guix.scm
@@ -128,6 +128,34 @@
Debbugs bug tracker's SOAP service.")
(license license:gpl3+))))
+(define-public guile-email
+ (let ((commit "fa52eac55e5946db89621a6c583d2aa357864dee")
+ (revision "1"))
+ (package
+ (name "guile-email")
+ (version (git-version "0.1.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.systemreboot.net/guile-email")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1037mbz7qd9bzaqp8ysyhnl9ipd97fmj3b9jr8qfzx9179vvsj63"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("autoconf" ,autoconf)
+ ("automake" ,automake)))
+ (inputs
+ `(("guile" ,guile-2.2.4)))
+ (home-page "https://git.systemreboot.net/guile-email")
+ (synopsis "Guile email parser")
+ (description "Guile email parser")
+ (license license:agpl3+))))
+
(package
(name "mumi")
(version "0.0.0")
@@ -135,6 +163,7 @@ Debbugs bug tracker's SOAP service.")
(build-system gnu-build-system)
(inputs
`(("guile-debbugs" ,guile-debbugs-next)
+ ("guile-email" ,guile-email)
("guile-syntax-highlight" ,guile-syntax-highlight)
("mailutils" ,mailutils-next)
("guile" ,guile-2.2.4)))