[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/17: gnu: Add vdirsyncer.
From: |
Leo Famulari |
Subject: |
12/17: gnu: Add vdirsyncer. |
Date: |
Fri, 15 Jan 2016 22:16:27 +0000 |
lfam pushed a commit to branch master
in repository guix.
commit a2f6a3d502768e58b12a64943994dd2102b6ff91
Author: Leo Famulari <address@hidden>
Date: Wed Dec 30 00:31:21 2015 -0500
gnu: Add vdirsyncer.
* gnu/packages/dav.scm (vdirsyncer): New variable.
---
gnu/packages/dav.scm | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 58 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm
index b22aff6..f13d013 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 storage locations. 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)))
- 07/17: gnu: Add python-pytest-cache., (continued)
- 07/17: gnu: Add python-pytest-cache., Leo Famulari, 2016/01/15
- 03/17: gnu: Add python-click-threading., Leo Famulari, 2016/01/15
- 05/17: gnu: Add python-apipkg., Leo Famulari, 2016/01/15
- 04/17: gnu: Add python-click-log., Leo Famulari, 2016/01/15
- 08/17: gnu: Add python-pytest-localserver., Leo Famulari, 2016/01/15
- 10/17: gnu: Add python-pytest-xprocess., Leo Famulari, 2016/01/15
- 09/17: gnu: Add python-wsgi-intercept., Leo Famulari, 2016/01/15
- 13/17: gnu: Add python-icalendar., Leo Famulari, 2016/01/15
- 11/17: gnu: Add radicale., Leo Famulari, 2016/01/15
- 14/17: gnu: Add python-sphinxcontrib-newsfeed., Leo Famulari, 2016/01/15
- 12/17: gnu: Add vdirsyncer.,
Leo Famulari <=
- 16/17: gnu: python-urwid: Disable failing test test_remove_watch_file., Leo Famulari, 2016/01/15
- 15/17: gnu: Update python-tzlocal to 1.2., Leo Famulari, 2016/01/15
- 17/17: gnu: Add khal., Leo Famulari, 2016/01/15