2024-10-01 05:20:57 +00:00
|
|
|
{
|
|
|
|
fetchFromGitHub,
|
|
|
|
lib,
|
|
|
|
nixosTests,
|
|
|
|
python3Packages,
|
2019-12-11 21:51:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "xandikos";
|
2024-11-06 14:31:15 +00:00
|
|
|
version = "0.2.12";
|
2024-10-01 05:20:57 +00:00
|
|
|
pyproject = true;
|
2023-09-05 20:58:31 +00:00
|
|
|
|
|
|
|
disabled = python3Packages.pythonOlder "3.9";
|
2019-12-11 21:51:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jelmer";
|
|
|
|
repo = "xandikos";
|
2024-04-02 17:39:42 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-11-06 14:31:15 +00:00
|
|
|
hash = "sha256-wdEwIVN9dkLVj8oe+2eh5n258pZRfKgLgzVCmwafCis=";
|
2019-12-11 21:51:19 +00:00
|
|
|
};
|
|
|
|
|
2024-10-01 05:20:57 +00:00
|
|
|
build-system = with python3Packages; [
|
2023-09-05 20:58:31 +00:00
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2024-10-01 05:20:57 +00:00
|
|
|
dependencies = with python3Packages; [
|
2020-05-05 15:52:52 +00:00
|
|
|
aiohttp
|
2023-09-05 21:38:47 +00:00
|
|
|
aiohttp-openmetrics
|
2019-12-11 21:51:19 +00:00
|
|
|
dulwich
|
|
|
|
defusedxml
|
|
|
|
icalendar
|
|
|
|
jinja2
|
2020-05-05 15:52:52 +00:00
|
|
|
multidict
|
2024-10-01 05:18:37 +00:00
|
|
|
pytz
|
2023-09-05 20:58:31 +00:00
|
|
|
vobject
|
2019-12-11 21:51:19 +00:00
|
|
|
];
|
|
|
|
|
2021-03-25 19:13:05 +00:00
|
|
|
passthru.tests.xandikos = nixosTests.xandikos;
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
|
2021-09-23 14:23:00 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-12-11 21:51:19 +00:00
|
|
|
description = "Lightweight CalDAV/CardDAV server";
|
|
|
|
homepage = "https://github.com/jelmer/xandikos";
|
|
|
|
license = licenses.gpl3Plus;
|
2020-12-26 04:20:00 +00:00
|
|
|
changelog = "https://github.com/jelmer/xandikos/blob/v${version}/NEWS";
|
2020-07-29 10:49:07 +00:00
|
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
2023-11-23 21:09:35 +00:00
|
|
|
mainProgram = "xandikos";
|
2019-12-11 21:51:19 +00:00
|
|
|
};
|
|
|
|
}
|