lol
1{ stdenv, fetchurl, pythonPackages }:
2
3pythonPackages.buildPythonApplication rec {
4 name = "radicale-${version}";
5 version = "1.1.6";
6
7 src = fetchurl {
8 url = "mirror://pypi/R/Radicale/Radicale-${version}.tar.gz";
9 sha256 = "0ay90nj6fmr2aq8imi0mbjl4m2rzq7a83ikj8qs9gxsylj71j1y0";
10 };
11
12 propagatedBuildInputs = stdenv.lib.optionals (!pythonPackages.isPy3k) [
13 pythonPackages.flup
14 pythonPackages.ldap
15 pythonPackages.sqlalchemy
16 ];
17
18 doCheck = !pythonPackages.isPy3k;
19
20 meta = with stdenv.lib; {
21 homepage = http://www.radicale.org/;
22 description = "CalDAV CardDAV server";
23 longDescription = ''
24 The Radicale Project is a complete CalDAV (calendar) and CardDAV
25 (contact) server solution. Calendars and address books are available for
26 both local and remote access, possibly limited through authentication
27 policies. They can be viewed and edited by calendar and contact clients
28 on mobile phones or computers.
29 '';
30 license = licenses.gpl3Plus;
31 platforms = platforms.all;
32 maintainers = with maintainers; [ edwtjo pSub aneeshusa ];
33 };
34}