2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2019-12-11 22:51:19 +01:00
|
|
|
, fetchFromGitHub
|
|
|
|
, python3Packages
|
2020-12-26 05:20:00 +01:00
|
|
|
, installShellFiles
|
2019-12-11 22:51:19 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "xandikos";
|
2021-02-20 16:33:41 +01:00
|
|
|
version = "0.2.5";
|
2019-12-11 22:51:19 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jelmer";
|
|
|
|
repo = "xandikos";
|
|
|
|
rev = "v${version}";
|
2021-02-20 16:33:41 +01:00
|
|
|
sha256 = "sha256-/pr8ZqgYk24CdJNAETCDF4ZtufXkVEu1Zw25PcPEo7M=";
|
2019-12-11 22:51:19 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2020-05-05 17:52:52 +02:00
|
|
|
aiohttp
|
2019-12-11 22:51:19 +01:00
|
|
|
dulwich
|
|
|
|
defusedxml
|
|
|
|
icalendar
|
|
|
|
jinja2
|
2020-05-05 17:52:52 +02:00
|
|
|
multidict
|
|
|
|
prometheus_client
|
2019-12-11 22:51:19 +01:00
|
|
|
];
|
|
|
|
|
2020-12-26 05:20:00 +01:00
|
|
|
nativeBuildInputs = [ installShellFiles ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
installManPage xandikos.1
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-12-11 22:51:19 +01:00
|
|
|
description = "Lightweight CalDAV/CardDAV server";
|
|
|
|
homepage = "https://github.com/jelmer/xandikos";
|
|
|
|
license = licenses.gpl3Plus;
|
2020-12-26 05:20:00 +01:00
|
|
|
changelog = "https://github.com/jelmer/xandikos/blob/v${version}/NEWS";
|
2020-07-29 12:49:07 +02:00
|
|
|
maintainers = with maintainers; [ _0x4A6F ];
|
2019-12-11 22:51:19 +01:00
|
|
|
};
|
|
|
|
}
|