chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ra / radicale / package.nix
blob1946ffab2fac70f4735c142e0c04e3e98818f1c1
1 { lib
2 , python3
3 , fetchFromGitHub
4 , nixosTests
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "radicale";
9   version = "3.2.3";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "Kozea";
14     repo = "Radicale";
15     rev = "refs/tags/v${version}";
16     hash = "sha256-1IlnXVetQQuKBt6+QVKNeMM6qBQAiUhqc+4x3xOnSdE=";
17   };
19   postPatch = ''
20     sed -i '/addopts/d' setup.cfg
21   '';
23   build-system = with python3.pkgs; [
24     setuptools
25   ];
27   dependencies = with python3.pkgs; [
28     defusedxml
29     passlib
30     vobject
31     pika
32     python-dateutil
33     pytz # https://github.com/Kozea/Radicale/issues/816
34   ] ++ passlib.optional-dependencies.bcrypt;
36   __darwinAllowLocalNetworking = true;
38   nativeCheckInputs = with python3.pkgs; [
39     pytest7CheckHook
40     waitress
41   ];
43   passthru.tests = {
44     inherit (nixosTests) radicale;
45   };
47   meta = with lib; {
48     homepage = "https://radicale.org/v3.html";
49     changelog = "https://github.com/Kozea/Radicale/blob/${src.rev}/CHANGELOG.md";
50     description = "CalDAV and CardDAV server";
51     license = licenses.gpl3Plus;
52     maintainers = with maintainers; [ dotlambda erictapen ];
53   };