summary refs log tree commit diff
path: root/pkgs/servers/radicale
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2016-09-24 19:26:15 +0200
committerRobert Helgesson <robert@rycee.net>2016-09-25 22:15:19 +0200
commit9d2a8314978f14168497f990a7442fe9242381e2 (patch)
treee193fb659c13045004d8c66856352c3077ab93f8 /pkgs/servers/radicale
parentc68850c6be7e6e9ee0148280e4edb21ac9601f67 (diff)
downloadnixlib-9d2a8314978f14168497f990a7442fe9242381e2.tar
nixlib-9d2a8314978f14168497f990a7442fe9242381e2.tar.gz
nixlib-9d2a8314978f14168497f990a7442fe9242381e2.tar.bz2
nixlib-9d2a8314978f14168497f990a7442fe9242381e2.tar.lz
nixlib-9d2a8314978f14168497f990a7442fe9242381e2.tar.xz
nixlib-9d2a8314978f14168497f990a7442fe9242381e2.tar.zst
nixlib-9d2a8314978f14168497f990a7442fe9242381e2.zip
radicale: break into own package
Since this is an application it is not suitable for pythonPackages,
which is more appropriate for Python modules.
Diffstat (limited to 'pkgs/servers/radicale')
-rw-r--r--pkgs/servers/radicale/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/servers/radicale/default.nix b/pkgs/servers/radicale/default.nix
new file mode 100644
index 000000000000..47bdad75343d
--- /dev/null
+++ b/pkgs/servers/radicale/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, fetchurl, pythonPackages }:
+
+pythonPackages.buildPythonApplication rec {
+  name = "radicale-${version}";
+  version = "1.1.1";
+
+  src = fetchurl {
+    url = "mirror://pypi/R/Radicale/Radicale-${version}.tar.gz";
+    sha256 = "1c5lv8qca21mndkx350wxv34qypqh6gb4rhzms4anr642clq3jg2";
+  };
+
+  propagatedBuildInputs = [
+    pythonPackages.flup
+    pythonPackages.ldap
+    pythonPackages.sqlalchemy
+  ];
+
+  doCheck = true;
+
+  meta = with stdenv.lib; {
+    homepage = http://www.radicale.org/;
+    description = "CalDAV CardDAV server";
+    longDescription = ''
+      The Radicale Project is a complete CalDAV (calendar) and CardDAV
+      (contact) server solution. Calendars and address books are available for
+      both local and remote access, possibly limited through authentication
+      policies. They can be viewed and edited by calendar and contact clients
+      on mobile phones or computers.
+    '';
+    license = licenses.gpl3Plus;
+    platform = platforms.all;
+    maintainers = with maintainers; [ edwtjo pSub ];
+  };
+}