nixpkgs/pkgs/servers/xandikos/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
1.1 KiB
Nix
Raw Normal View History

{ lib
2019-12-12 00:51:19 +03:00
, fetchFromGitHub
, python3Packages
2021-03-25 22:13:05 +03:00
, nixosTests
2019-12-12 00:51:19 +03:00
}:
python3Packages.buildPythonApplication rec {
pname = "xandikos";
version = "0.2.10";
format = "pyproject";
disabled = python3Packages.pythonOlder "3.9";
2019-12-12 00:51:19 +03:00
src = fetchFromGitHub {
owner = "jelmer";
repo = "xandikos";
rev = "v${version}";
hash = "sha256-SqU/K3b8OML3PvFmP7L5R3Ub9vbW66xRpf79mgFZPfc=";
2019-12-12 00:51:19 +03:00
};
nativeBuildInputs = with python3Packages; [
setuptools
wheel
];
2019-12-12 00:51:19 +03:00
propagatedBuildInputs = with python3Packages; [
2020-05-05 18:52:52 +03:00
aiohttp
aiohttp-openmetrics
2019-12-12 00:51:19 +03:00
dulwich
defusedxml
icalendar
jinja2
2020-05-05 18:52:52 +03:00
multidict
vobject
2019-12-12 00:51:19 +03:00
];
2021-03-25 22:13:05 +03:00
passthru.tests.xandikos = nixosTests.xandikos;
nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
2021-09-23 17:23:00 +03:00
meta = with lib; {
2019-12-12 00:51:19 +03:00
description = "Lightweight CalDAV/CardDAV server";
homepage = "https://github.com/jelmer/xandikos";
license = licenses.gpl3Plus;
2020-12-26 07:20:00 +03:00
changelog = "https://github.com/jelmer/xandikos/blob/v${version}/NEWS";
2020-07-29 13:49:07 +03:00
maintainers = with maintainers; [ _0x4A6F ];
2023-11-24 00:09:35 +03:00
mainProgram = "xandikos";
2019-12-12 00:51:19 +03:00
};
}