diff options
author | Franz Geffke <franz@pantherx.org> | 2024-03-30 12:37:13 +0000 |
---|---|---|
committer | Franz Geffke <franz@pantherx.org> | 2024-03-30 12:37:13 +0000 |
commit | 3db3382b690add4e60707a7b07113d2e32ec9b63 (patch) | |
tree | 3107956b5de68f83f06ac1021a301a6a79267e8a /px/packages/email.scm | |
parent | 43c68da82cacd4c5c7838600edf13c6dd9e4f251 (diff) |
claws-mail-theme-breeze: move to email module
Diffstat (limited to 'px/packages/email.scm')
-rw-r--r-- | px/packages/email.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/px/packages/email.scm b/px/packages/email.scm index 39dd28d..96c9ce4 100644 --- a/px/packages/email.scm +++ b/px/packages/email.scm @@ -94,3 +94,37 @@ Calendars and todos are supported, using either GroupDAV or CalDAV, and contacts are supported using GroupDAV or CardDAV.") (license license:gpl2+))) + +(define-public claws-mail-theme-breeze + (package + (name "claws-mail-theme-breeze") + (version "0.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://www.claws-mail.org/download.php?file=themes/png/claws-mail-theme_breeze.tar.gz")) + (sha256 + (base32 "104ak4m3s7i4d44clpn4kcq4bhjz92ybmpiw83dpg2xwc9w8k2pf")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder (begin + (use-modules (guix build utils) + (srfi srfi-26)) + (let* ((source (assoc-ref %build-inputs "source")) + (tar (assoc-ref %build-inputs "tar")) + (gzip (assoc-ref %build-inputs "gzip")) + (theme-dir (string-append %output + "/share/claws-mail/themes"))) + (mkdir-p theme-dir) + (setenv "PATH" + (string-append gzip "/bin")) + (invoke (string-append tar "/bin/tar") "xvf" source "-C" + theme-dir))))) + (native-inputs `(("tar" ,tar) + ("gzip" ,gzip))) + (synopsis "claws-mail breeze theme") + (home-page "https://www.claws-mail.org/themes.php") + (description "claws-mail breeze theme") + (license license:gpl3+))) |