mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
Diff: https://github.com/python-caldav/caldav/compare/v3.4.0...v3.6.0 Changelog: https://github.com/python-caldav/caldav/blob/v3.6.0/CHANGELOG.md
94 lines
1.7 KiB
Nix
94 lines
1.7 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
calendaring-config,
|
|
dnspython,
|
|
fetchFromGitHub,
|
|
httpx,
|
|
icalendar,
|
|
icalendar-searcher,
|
|
lxml,
|
|
manuel,
|
|
pytestCheckHook,
|
|
python,
|
|
radicale,
|
|
recurring-ical-events,
|
|
niquests,
|
|
hatchling,
|
|
hatch-vcs,
|
|
proxy-py,
|
|
pyfakefs,
|
|
pytest-asyncio,
|
|
python-dateutil,
|
|
pyyaml,
|
|
toPythonModule,
|
|
tzlocal,
|
|
vobject,
|
|
xandikos,
|
|
writableTmpDirAsHomeHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "caldav";
|
|
version = "3.6.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "python-caldav";
|
|
repo = "caldav";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-mRaWWR1/YkJ5+eRc/ylT/ntYzBJVpCyuBVHGzAYOB+I=";
|
|
};
|
|
|
|
build-system = [
|
|
hatchling
|
|
hatch-vcs
|
|
];
|
|
|
|
dependencies = [
|
|
calendaring-config
|
|
dnspython
|
|
lxml
|
|
niquests
|
|
icalendar
|
|
icalendar-searcher
|
|
recurring-ical-events
|
|
python-dateutil
|
|
pyyaml
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
httpx
|
|
manuel
|
|
proxy-py
|
|
pyfakefs
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
(toPythonModule (radicale.override { python3 = python; }))
|
|
tzlocal
|
|
vobject
|
|
writableTmpDirAsHomeHook
|
|
(toPythonModule (xandikos.override { python3Packages = python.pkgs; }))
|
|
];
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
pythonImportsCheck = [ "caldav" ];
|
|
|
|
passthru = {
|
|
# bulk updater uses wrong tag
|
|
skipBulkUpdate = true;
|
|
};
|
|
|
|
meta = {
|
|
description = "CalDAV (RFC4791) client library";
|
|
homepage = "https://github.com/python-caldav/caldav";
|
|
changelog = "https://github.com/python-caldav/caldav/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [
|
|
marenz
|
|
dotlambda
|
|
];
|
|
};
|
|
})
|