summary refs log tree commit diff
path: root/pkgs/servers/xandikos
diff options
context:
space:
mode:
authorschnusch <schnusch@users.noreply.github.com>2023-09-05 22:58:31 +0200
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2023-09-09 21:10:59 +0200
commit42deb69b51cbf306ba880836e66b8da92287b4dc (patch)
treefe8aef55bc0afa6daea6d4c64810c2323e544d0e /pkgs/servers/xandikos
parentb52d40b8671322a492676fd07eaa8bbabc886123 (diff)
downloadnixpkgs-42deb69b51cbf306ba880836e66b8da92287b4dc.tar
nixpkgs-42deb69b51cbf306ba880836e66b8da92287b4dc.tar.gz
nixpkgs-42deb69b51cbf306ba880836e66b8da92287b4dc.tar.bz2
nixpkgs-42deb69b51cbf306ba880836e66b8da92287b4dc.tar.lz
nixpkgs-42deb69b51cbf306ba880836e66b8da92287b4dc.tar.xz
nixpkgs-42deb69b51cbf306ba880836e66b8da92287b4dc.tar.zst
nixpkgs-42deb69b51cbf306ba880836e66b8da92287b4dc.zip
xandikos: 0.2.8 -> 0.2.10
Diff: https://github.com/jelmer/xandikos/compare/v0.2.8...v0.2.10

Changelog: https://github.com/jelmer/xandikos/blob/v0.2.10/NEWS
Diffstat (limited to 'pkgs/servers/xandikos')
-rw-r--r--pkgs/servers/xandikos/default.nix19
1 files changed, 11 insertions, 8 deletions
diff --git a/pkgs/servers/xandikos/default.nix b/pkgs/servers/xandikos/default.nix
index 562345db9c1..e5238b90814 100644
--- a/pkgs/servers/xandikos/default.nix
+++ b/pkgs/servers/xandikos/default.nix
@@ -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";