Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / servers / xandikos / default.nix
blobc22db465b22397668cd86687bb6c99451f89f026
1 { lib
2 , fetchFromGitHub
3 , python3Packages
4 , nixosTests
5 }:
7 python3Packages.buildPythonApplication rec {
8   pname = "xandikos";
9   version = "0.2.11";
10   format = "pyproject";
12   disabled = python3Packages.pythonOlder "3.9";
14   src = fetchFromGitHub {
15     owner = "jelmer";
16     repo = "xandikos";
17     rev = "refs/tags/v${version}";
18     hash = "sha256-cBsceJ6tib8OYx5L2Hv2AqRS+ADRSLIuJGIULNpAmEI=";
19   };
21   nativeBuildInputs = with python3Packages; [
22     setuptools
23     wheel
24   ];
26   propagatedBuildInputs = with python3Packages; [
27     aiohttp
28     aiohttp-openmetrics
29     dulwich
30     defusedxml
31     icalendar
32     jinja2
33     multidict
34     vobject
35   ];
37   passthru.tests.xandikos = nixosTests.xandikos;
39   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
41   meta = with lib; {
42     description = "Lightweight CalDAV/CardDAV server";
43     homepage = "https://github.com/jelmer/xandikos";
44     license = licenses.gpl3Plus;
45     changelog = "https://github.com/jelmer/xandikos/blob/v${version}/NEWS";
46     maintainers = with maintainers; [ _0x4A6F ];
47     mainProgram = "xandikos";
48   };