1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01: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 {
pname = "xandikos";
version = "0.2.8";
version = "0.2.10";
format = "pyproject";
disabled = python3Packages.pythonOlder "3.9";
src = fetchFromGitHub {
owner = "jelmer";
repo = "xandikos";
rev = "v${version}";
sha256 = "sha256-KDDk0QSOjwivJFz3vLk+g4vZMlSuX2FiOgHJfDJkpwg=";
hash = "sha256-SqU/K3b8OML3PvFmP7L5R3Ub9vbW66xRpf79mgFZPfc=";
};
nativeBuildInputs = with python3Packages; [
setuptools
wheel
];
propagatedBuildInputs = with python3Packages; [
aiohttp
aiohttp-openmetrics
@ -23,17 +31,12 @@ python3Packages.buildPythonApplication rec {
icalendar
jinja2
multidict
vobject
];
passthru.tests.xandikos = nixosTests.xandikos;
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; {
description = "Lightweight CalDAV/CardDAV server";