@@ -0,0 +1,38 @@
1+{ lib, python3, fetchFromGitHub }:
2+
3+python3.pkgs.buildPythonApplication rec {
4+ pname = "radicale";
5+ version = "3.0.3";
6+
7+ # No tests in PyPI tarball
8+ src = fetchFromGitHub {
9+ owner = "Kozea";
10+ repo = "Radicale";
11+ rev = version;
12+ sha256 = "170mqxlnfzx15img4wb71axq9cnxwllk5cabsv8i008q7wyjqp0n";
13+ };
14+
15+ propagatedBuildInputs = with python3.pkgs; [
16+ defusedxml
17+ passlib
18+ vobject
19+ python-dateutil
20+ setuptools
21+ ];
22+
23+ checkInputs = with python3.pkgs; [
24+ pytestrunner
25+ pytest
26+ pytestcov
27+ pytest-flake8
28+ pytest-isort
29+ waitress
30+ ];
31+
32+ meta = with lib; {
33+ homepage = "https://www.radicale.org/3.0.html";
34+ description = "CalDAV and CardDAV server";
35+ license = licenses.gpl3Plus;
36+ maintainers = with maintainers; [ dotlambda ];
37+ };
38+}