2018-06-29 19:01:56 +02:00
|
|
|
{ stdenv, fetchFromGitHub, python3 }:
|
2016-09-24 19:26:15 +02:00
|
|
|
|
2017-07-25 09:01:08 +02:00
|
|
|
let
|
2018-04-26 08:12:48 +02:00
|
|
|
version = "2.1.9";
|
|
|
|
sha256 = "1sywxn7j9bq39qwq74h327crc44j9049cykai1alv44agx8s1nhz";
|
2018-06-29 19:01:56 +02:00
|
|
|
|
|
|
|
python = python3.override {
|
|
|
|
packageOverrides = self: super: {
|
|
|
|
|
2018-07-08 10:54:59 +02:00
|
|
|
# Packages pinned in setup.py.
|
|
|
|
# Starting with next release, a vendored version of vobject will be used.
|
2018-06-29 19:01:56 +02:00
|
|
|
python-dateutil = super.python-dateutil.overridePythonAttrs (oldAttrs: rec {
|
|
|
|
version = "2.6.1";
|
|
|
|
src = oldAttrs.src.override {
|
|
|
|
inherit version;
|
|
|
|
sha256 = "891c38b2a02f5bb1be3e4793866c8df49c7d19baabf9c1bad62547e0b4866aca";
|
|
|
|
};
|
|
|
|
});
|
2018-07-08 10:54:59 +02:00
|
|
|
vobject = super.vobject.overridePythonAttrs (oldAttrs: rec {
|
|
|
|
version = "0.9.5";
|
|
|
|
src = oldAttrs.src.override {
|
|
|
|
inherit version;
|
|
|
|
sha256 = "0f56cae196303d875682b9648b4bb43ffc769d2f0f800958e0a506af867b1243";
|
|
|
|
};
|
|
|
|
});
|
2018-06-29 19:01:56 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
};
|
2017-07-25 09:01:08 +02:00
|
|
|
in
|
|
|
|
|
2018-06-29 19:01:56 +02:00
|
|
|
python.pkgs.buildPythonApplication {
|
2016-09-24 19:26:15 +02:00
|
|
|
name = "radicale-${version}";
|
2017-07-25 09:01:08 +02:00
|
|
|
inherit version;
|
2016-09-24 19:26:15 +02:00
|
|
|
|
2017-07-25 09:01:08 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Kozea";
|
|
|
|
repo = "Radicale";
|
|
|
|
rev = version;
|
|
|
|
inherit sha256;
|
2016-09-24 19:26:15 +02:00
|
|
|
};
|
|
|
|
|
2017-07-25 09:01:08 +02:00
|
|
|
doCheck = false;
|
2016-09-24 19:26:15 +02:00
|
|
|
|
2018-06-29 19:01:56 +02:00
|
|
|
propagatedBuildInputs = with python.pkgs; [
|
2017-07-25 09:01:08 +02:00
|
|
|
vobject
|
|
|
|
passlib
|
2017-12-09 17:45:25 +01:00
|
|
|
pytz
|
2017-07-25 09:01:08 +02:00
|
|
|
];
|
2016-09-24 19:26:15 +02:00
|
|
|
|
|
|
|
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;
|
2017-05-03 01:14:03 +02:00
|
|
|
platforms = platforms.all;
|
2017-07-25 09:01:08 +02:00
|
|
|
maintainers = with maintainers; [ edwtjo pSub aneeshusa infinisil ];
|
2016-09-24 19:26:15 +02:00
|
|
|
};
|
|
|
|
}
|