From: Leo Famulari <leo@famulari.name>
To: guix-devel@gnu.org
Subject: [PATCH 12/17] gnu: Add vdirsyncer.
Date: Sun, 3 Jan 2016 19:05:10 -0500 [thread overview]
Message-ID: <b53e0b8593dba6ed889a524d890810c01ac5f7e0.1451865663.git.leo@famulari.name> (raw)
In-Reply-To: <cover.1451865663.git.leo@famulari.name>
In-Reply-To: <cover.1451865663.git.leo@famulari.name>
* gnu/packages/dav.scm (vdirsyncer): New variable.
---
gnu/packages/dav.scm | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm
index 07fdcb1..10ca0b2 100644
--- a/gnu/packages/dav.scm
+++ b/gnu/packages/dav.scm
@@ -48,3 +48,61 @@ Instead, it supports the CalDAV and CardDAV implementations of popular
clients.")
(home-page "http://radicale.org/")
(license gpl3+)))
+
+(define-public vdirsyncer
+ (package
+ (name "vdirsyncer")
+ (version "0.7.5")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "vdirsyncer" version))
+ (sha256
+ (base32
+ "0dvar4k95n689fgw5gy19mb7ggaw32c8j2gbglr33wn7pbxc2l9z"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (setenv "DAV_SERVER" "radicale")
+ (setenv "REMOTESTORAGE_SERVER" "skip")
+ (zero? (system* "py.test"))))
+ ;; vdirsyncer requires itself to be installed in order to build
+ ;; the manpage.
+ (add-after 'install 'manpage
+ (lambda* (#:key outputs #:allow-other-keys)
+ (setenv "PYTHONPATH"
+ (string-append
+ (getenv "PYTHONPATH")
+ ":" (assoc-ref outputs "out")))
+ (zero? (system* "make" "--directory=docs/" "man"))
+ (install-file
+ "docs/_build/man/vdirsyncer.1"
+ (string-append
+ (assoc-ref outputs "out")
+ "/share/man/man1")))))))
+ (native-inputs
+ `(("python-oauthlib" ,python-oauthlib)
+ ("python-setuptools-scm" ,python-setuptools-scm)
+ ("python-sphinx" ,python-sphinx)
+ ;; Required for testing
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-localserver" ,python-pytest-localserver)
+ ("python-pytest-xprocess" ,python-pytest-xprocess)
+ ("python-wsgi-intercept" ,python-wsgi-intercept)
+ ("radicale" ,radicale)))
+ (propagated-inputs
+ `(("python-atomicwrites" ,python-atomicwrites)
+ ("python-click" ,python-click)
+ ("python-click-log" ,python-click-log)
+ ("python-click-threading" ,python-click-threading)
+ ("python-lxml" ,python-lxml) ; which one?
+ ("python-requests-toolbelt" ,python-requests-toolbelt)))
+ (synopsis "Synchronize calendars and contacts")
+ (description "Vdirsyncer synchronizes your calendars and addressbooks
+between two storages. The most popular purpose is to synchronize a CalDAV or
+CardDAV server with a local folder or file. The local data can then be
+accessed via a variety of programs, none of which have to know or worry about
+syncing to a server.")
+ (home-page "https://github.com/untitaker/vdirsyncer")
+ (license expat)))
--
2.6.4
next prev parent reply other threads:[~2016-01-04 0:05 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-04 0:04 [PATCH 00/17] Add CalDAV and CardDAV programs Leo Famulari
2016-01-04 0:04 ` [PATCH 01/17] gnu: Add python-atomicwrites Leo Famulari
2016-01-06 19:02 ` Efraim Flashner
2016-01-07 16:48 ` Leo Famulari
2016-01-10 2:48 ` Leo Famulari
2016-01-04 0:05 ` [PATCH 02/17] gnu: Add python-requests-toolbelt Leo Famulari
2016-01-04 0:05 ` [PATCH 03/17] gnu: Add python-click-threading Leo Famulari
2016-01-06 18:48 ` Eric Bavier
2016-01-07 16:48 ` Leo Famulari
2016-01-04 0:05 ` [PATCH 04/17] gnu: Add python-click-log Leo Famulari
2016-01-06 19:04 ` Efraim Flashner
2016-01-07 16:49 ` Leo Famulari
2016-01-04 0:05 ` [PATCH 05/17] gnu: Add python-apipkg Leo Famulari
2016-01-04 0:05 ` [PATCH 06/17] gnu: Add python-execnet Leo Famulari
2016-01-06 18:57 ` Eric Bavier
2016-01-07 16:48 ` Leo Famulari
2016-01-04 0:05 ` [PATCH 07/17] gnu: Add python-pytest-cache Leo Famulari
2016-01-04 0:05 ` [PATCH 08/17] gnu: Add python-pytest-localserver Leo Famulari
2016-01-06 19:09 ` Eric Bavier
2016-01-07 16:49 ` Leo Famulari
2016-01-04 0:05 ` [PATCH 09/17] gnu: Add python-wsgi-intercept Leo Famulari
2016-01-04 0:05 ` [PATCH 10/17] gnu: Add python-pytest-xprocess Leo Famulari
2016-01-04 0:05 ` [PATCH 11/17] gnu: Add radicale Leo Famulari
2016-01-04 0:05 ` Leo Famulari [this message]
2016-01-06 19:11 ` [PATCH 12/17] gnu: Add vdirsyncer Efraim Flashner
2016-01-04 0:05 ` [PATCH 13/17] gnu: Add python-icalendar Leo Famulari
2016-01-04 0:05 ` [PATCH 14/17] gnu: Add python-sphinxcontrib-newsfeed Leo Famulari
2016-01-04 0:05 ` [PATCH 15/17] gnu: Update python-tzlocal to 1.2 Leo Famulari
2016-01-06 19:14 ` Efraim Flashner
2016-01-07 16:49 ` Leo Famulari
2016-01-04 0:05 ` [PATCH 16/17] gnu: python-urwid: Disable failing test test_remove_watch_file Leo Famulari
2016-01-04 0:05 ` [PATCH 17/17] gnu: Add khal Leo Famulari
2016-01-06 19:23 ` Efraim Flashner
2016-01-07 16:49 ` Leo Famulari
2016-01-06 19:31 ` Eric Bavier
2016-01-07 16:50 ` 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b53e0b8593dba6ed889a524d890810c01ac5f7e0.1451865663.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).