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