2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2019-12-11 21:51:19 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, python3Packages
|
2021-03-25 19:13:05 +00:00
|
|
|
, nixosTests
|
2019-12-11 21:51:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "xandikos";
|
2021-03-22 17:08:20 +00:00
|
|
|
version = "0.2.6";
|
2019-12-11 21:51:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jelmer";
|
|
|
|
repo = "xandikos";
|
|
|
|
rev = "v${version}";
|
2021-03-22 17:08:20 +00:00
|
|
|
sha256 = "sha256-Epy6NWtRY2Oj4MHTStdv8ZJ5SvSmUo6IlwL5PJV9pD0=";
|
2019-12-11 21:51:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2020-05-05 16:52:52 +01:00
|
|
|
aiohttp
|
2019-12-11 21:51:19 +00:00
|
|
|
dulwich
|
|
|
|
defusedxml
|
|
|
|
icalendar
|
|
|
|
jinja2
|
2020-05-05 16:52:52 +01:00
|
|
|
multidict
|
|
|
|
prometheus_client
|
2019-12-11 21:51:19 +00:00
|
|
|
];
|
|
|
|
|
2021-03-25 19:13:05 +00:00
|
|
|
passthru.tests.xandikos = nixosTests.xandikos;
|
|
|
|
|
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 11:49:07 +01:00
|
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
2019-12-11 21:51:19 +00:00
|
|
|
};
|
|
|
|
}
|