Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

61 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
pytestCheckHook,
poetry-core,
icalendar,
pook,
python-dateutil,
pytz,
urllib3,
}:
buildPythonPackage rec {
pname = "icalevents";
version = "0.3.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "jazzband";
repo = "icalevents";
tag = version;
hash = "sha256-QDqmcZY/UANVKRjk1ZFEFHgrjtD+hXE4qd3tX64sE7c=";
};
build-system = [
poetry-core
];
dependencies = [
icalendar
python-dateutil
pytz
urllib3
];
nativeCheckInputs = [
pook
pytestCheckHook
];
disabledTests = [
# Makes HTTP calls
"test_events_url"
"test_events_async_url"
];
pythonImportsCheck = [ "icalevents" ];
meta = with lib; {
changelog = "https://github.com/jazzband/icalevents/releases/tag/${src.tag}";
description = "Python module for iCal URL/file parsing and querying";
homepage = "https://github.com/jazzband/icalevents";
maintainers = with maintainers; [ jamiemagee ];
license = licenses.mit;
};
}