Files
nixpkgs/pkgs/development/python-modules/caldav/default.nix
Martin Weinelt a0cf1ab1c0 python3Packages.caldav: 1.6.0 -> 2.0.1
https://github.com/python-caldav/caldav/blob/v2.0.1/CHANGELOG.md

This commit was automatically generated using update-python-libraries.
2025-08-09 18:58:46 +02:00

74 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
icalendar,
lxml,
pytestCheckHook,
python,
recurring-ical-events,
requests,
hatchling,
hatch-vcs,
proxy-py,
pyfakefs,
toPythonModule,
tzlocal,
vobject,
xandikos,
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
pname = "caldav";
version = "2.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "python-caldav";
repo = "caldav";
tag = "v${version}";
hash = "sha256-n7ZKTBXg66firbS34J41NrTM/PL/OrKMnS4iguRz4Ho=";
};
build-system = [
hatchling
hatch-vcs
];
dependencies = [
vobject
lxml
requests
icalendar
recurring-ical-events
];
nativeCheckInputs = [
proxy-py
pyfakefs
pytestCheckHook
tzlocal
(toPythonModule (xandikos.override { python3Packages = python.pkgs; }))
writableTmpDirAsHomeHook
];
disabledTestPaths = [
"tests/test_docs.py"
"tests/test_examples.py"
];
pythonImportsCheck = [ "caldav" ];
meta = with lib; {
description = "CalDAV (RFC4791) client library";
homepage = "https://github.com/python-caldav/caldav";
changelog = "https://github.com/python-caldav/caldav/blob/${src.tag}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [
marenz
dotlambda
];
};
}