From: Leo Famulari <leo@famulari.name>
To: guix-devel@gnu.org
Subject: [PATCH 5/5] gnu: Add khard.
Date: Thu, 3 Mar 2016 17:11:56 -0500 [thread overview]
Message-ID: <289785eed7200bb09305843b2c3d0bd1222ff62e.1457042922.git.leo@famulari.name> (raw)
In-Reply-To: <cover.1457042922.git.leo@famulari.name>
In-Reply-To: <cover.1457042922.git.leo@famulari.name>
* gnu/packages/mail.scm (khard): New variable.
---
gnu/packages/mail.scm | 47 ++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 44 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 013954b..a34a4de 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -71,8 +71,8 @@
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module ((guix licenses)
- #:select (gpl2 gpl2+ gpl3+ lgpl2.1 lgpl2.1+ lgpl3+ non-copyleft
- (expat . license:expat)))
+ #:select (gpl2 gpl2+ gpl3 gpl3+ lgpl2.1 lgpl2.1+ lgpl3+
+ non-copyleft (expat . license:expat)))
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -1150,5 +1150,46 @@ maintained.")
;; nonfree Artistic License 1.0
;; as alternative to the GPL2+.
;; This option is not listed here.
-;;; mail.scm ends here
+(define-public khard
+ (package
+ (name "khard")
+ (version "0.8.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri name version))
+ (sha256
+ (base32
+ "098gs94qmnspdfn6ar8lycx7dbsz9bcff90aps0cmn47mw7llch0"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2 ; only python-2 is supported.
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'disable-egg-compression
+ ;; Do not compress the egg.
+ (lambda _
+ (let ((port (open-file "setup.cfg" "a")))
+ (display "\n[easy_install]\nzip_ok = 0\n"
+ port)
+ (close-port port)
+ #t)))
+ (add-after 'install 'install-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (string-append out "/share/doc/khard")))
+ (copy-recursively "misc/khard" doc)))))))
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)))
+ (propagated-inputs
+ `(("python2-vobject" ,python2-vobject)
+ ("python2-pyyaml" ,python2-pyyaml)
+ ("python2-atomicwrites" ,python2-atomicwrites)
+ ("python2-configobj" ,python2-configobj)))
+ (synopsis "Console address book using CardDAV")
+ (description "Khard is an address book for the console. It creates, reads,
+modifies and removes CardDAV address book entries at your local machine. For
+synchronizing with a remote address book, @command{vdirsyncer} is recommended.
+Khard can also be used from within the email client @command{mutt}.")
+ (home-page "https://github.com/scheibler/khard")
+ (license gpl3))) ; "later version" never mentioned
--
2.6.3
next prev parent reply other threads:[~2016-03-03 22:12 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-03 22:11 [PATCH 0/5] Add Khard and dependencies Leo Famulari
2016-03-03 22:11 ` [PATCH 1/5] gnu: Add python2-atomicwrites Leo Famulari
2016-03-13 22:26 ` Ludovic Courtès
2016-03-03 22:11 ` [PATCH 2/5] gnu: python2-pyicu: Update to 1.9.2 Leo Famulari
2016-03-13 22:27 ` Ludovic Courtès
2016-03-03 22:11 ` [PATCH 3/5] gnu: Split python2-pyicu into python-pyicu and python2-pyicu Leo Famulari
2016-03-05 19:42 ` Efraim Flashner
2016-03-05 22:32 ` Leo Famulari
2016-03-06 0:40 ` Leo Famulari
2016-03-06 12:58 ` Andreas Enge
2016-03-06 18:49 ` Leo Famulari
2016-03-13 22:31 ` Leo Famulari
2016-03-13 22:28 ` Ludovic Courtès
2016-03-13 22:32 ` Leo Famulari
2016-03-03 22:11 ` [PATCH 4/5] gnu: Add python-vobject Leo Famulari
2016-03-13 22:28 ` Ludovic Courtès
2016-03-03 22:11 ` Leo Famulari [this message]
2016-03-03 22:14 ` [PATCH 5/5] gnu: Add khard Leo Famulari
2016-03-05 19:42 ` Efraim Flashner
2016-03-05 22:10 ` Leo Famulari
2016-03-13 22:32 ` Ludovic Courtès
2016-03-13 22:45 ` Leo Famulari
2016-03-05 19:42 ` [PATCH 0/5] Add Khard and dependencies Efraim Flashner
2016-03-05 22:11 ` Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=289785eed7200bb09305843b2c3d0bd1222ff62e.1457042922.git.leo@famulari.name \
--to=leo@famulari.name \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.