e16a0988bc
This commit readds and updates the 1.x package from 1.1.4 to 1.1.6 which also includes the needed command for migrating to 2.x The module is adjusted to the version change, defaulting to radicale2 if stateVersion >= 17.09 and radicale1 otherwise. It also now uses ExecStart instead of the script service attribute. Some missing dots at the end of sentences were also added. I added a paragraph in the release notes on how to update to a newer version.
40 lines
1.1 KiB
Nix
40 lines
1.1 KiB
Nix
{ stdenv, fetchFromGitHub, python3Packages }:
|
|
|
|
let
|
|
version = "2.1.2";
|
|
sha256 = "0gmbnvm17j0ilcnci1k2jh0vkbz5g8xlk9lgia5mlx790048hlm8";
|
|
in
|
|
|
|
python3Packages.buildPythonApplication {
|
|
name = "radicale-${version}";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Kozea";
|
|
repo = "Radicale";
|
|
rev = version;
|
|
inherit sha256;
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
vobject
|
|
passlib
|
|
];
|
|
|
|
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;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ edwtjo pSub aneeshusa infinisil ];
|
|
};
|
|
}
|