summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranz Geffke <franz@pantherx.org>2024-03-30 12:37:13 +0000
committerFranz Geffke <franz@pantherx.org>2024-03-30 12:37:13 +0000
commit3db3382b690add4e60707a7b07113d2e32ec9b63 (patch)
tree3107956b5de68f83f06ac1021a301a6a79267e8a
parent43c68da82cacd4c5c7838600edf13c6dd9e4f251 (diff)
claws-mail-theme-breeze: move to email module
-rw-r--r--px/packages/clawsmail.scm49
-rw-r--r--px/packages/email.scm34
2 files changed, 34 insertions, 49 deletions
diff --git a/px/packages/clawsmail.scm b/px/packages/clawsmail.scm
deleted file mode 100644
index 7d50ced..0000000
--- a/px/packages/clawsmail.scm
+++ /dev/null
@@ -1,49 +0,0 @@
-;;; Theme Packages Module for PantherX
-;;; Hamzeh Nasajpour (h.nasajpour@pantherx.org)
-;;;
-
-(define-module (px packages clawsmail)
- #:use-module ((guix licenses)
- #:prefix license:)
- #:use-module (guix git-download)
- #:use-module (guix download)
- #:use-module (guix gexp)
- #:use-module (guix packages)
- #:use-module (guix utils)
- #:use-module (guix build-system trivial)
- #:use-module (gnu packages base)
- #:use-module (gnu packages compression))
-
-(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+)))
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+)))