1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 17:41:12 +00:00
nixpkgs/pkgs/servers/radicale/default.nix
Kai Harries 3b895db614 radicale: add pytz to closure
Without pytz I got error messages like this in the journal:

  Dec 09 00:00:00 x radicale[8868]: ERROR:root:No module named 'pytz'
2017-12-09 17:51:13 +01:00

42 lines
1.1 KiB
Nix

{ stdenv, fetchFromGitHub, python3Packages }:
let
version = "2.1.8";
sha256 = "0fnsk61s328dg16iv0chqxayni8ahkbcb84z012w0d9417i806lc";
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
pytz
];
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 ];
};
}