blob: 494a72430b407b053b9f527cd02d8b2743ec189b (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
{
fetchFromGitHub,
lib,
nixosTests,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "radicale";
version = "3.5.1";
pyproject = true;
src = fetchFromGitHub {
owner = "Kozea";
repo = "Radicale";
tag = "v${version}";
hash = "sha256-CM4ljD2fXwQIiJW135G9cIEO0YNmhbS0Cwiv0EU+Bsk=";
};
build-system = with python3.pkgs; [
setuptools
];
dependencies =
with python3.pkgs;
[
defusedxml
passlib
vobject
pika
requests
pytz # https://github.com/Kozea/Radicale/issues/816
ldap3
]
++ passlib.optional-dependencies.bcrypt;
__darwinAllowLocalNetworking = true;
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
waitress
];
passthru.tests = {
inherit (nixosTests) radicale;
};
meta = {
homepage = "https://radicale.org/v3.html";
changelog = "https://github.com/Kozea/Radicale/blob/${src.tag}/CHANGELOG.md";
description = "CalDAV and CardDAV server";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
dotlambda
erictapen
];
};
}
|