1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
schnusch 2023-09-05 22:58:31 +02:00 committed by Weijia Wang
parent b52d40b867
commit 42deb69b51

View file

@ -6,15 +6,23 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "xandikos"; pname = "xandikos";
version = "0.2.8"; version = "0.2.10";
format = "pyproject";
disabled = python3Packages.pythonOlder "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jelmer"; owner = "jelmer";
repo = "xandikos"; repo = "xandikos";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-KDDk0QSOjwivJFz3vLk+g4vZMlSuX2FiOgHJfDJkpwg="; hash = "sha256-SqU/K3b8OML3PvFmP7L5R3Ub9vbW66xRpf79mgFZPfc=";
}; };
nativeBuildInputs = with python3Packages; [
setuptools
wheel
];
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
aiohttp aiohttp
aiohttp-openmetrics aiohttp-openmetrics
@ -23,17 +31,12 @@ python3Packages.buildPythonApplication rec {
icalendar icalendar
jinja2 jinja2
multidict multidict
vobject
]; ];
passthru.tests.xandikos = nixosTests.xandikos; passthru.tests.xandikos = nixosTests.xandikos;
nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
disabledTests = [
# these tests are failing due to the following error:
# TypeError: expected str, bytes or os.PathLike object, not int
"test_iter_with_etag"
"test_iter_with_etag_missing_uid"
];
meta = with lib; { meta = with lib; {
description = "Lightweight CalDAV/CardDAV server"; description = "Lightweight CalDAV/CardDAV server";