Skip to content

Commit

Permalink
python313Packages.icalevents: 0.1.29 -> 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda committed Jan 17, 2025
1 parent df5a154 commit 51e4b3b
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions pkgs/development/python-modules/icalevents/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
pythonOlder,
pytestCheckHook,
poetry-core,
httplib2,
icalendar,
pook,
python-dateutil,
pytz,
urllib3,
}:

buildPythonPackage rec {
pname = "icalevents";
version = "0.1.29";
version = "0.2.0";
pyproject = true;

disabled = pythonOlder "3.9";
Expand All @@ -23,36 +23,25 @@ buildPythonPackage rec {
owner = "jazzband";
repo = "icalevents";
tag = "v${version}";
hash = "sha256-Bp+Wz88q65Gem8LyRz0A4xE5hIgOD+iZ7E1UlnfFiD4=";
hash = "sha256-xIio+zJtIa0mM7aHFHm1QW36hww82h4A1YWaWUCxx14=";
};

patches = [
(fetchpatch2 {
name = "icalendar-v6-compat.patch";
url = "https://github.com/jazzband/icalevents/commit/fa925430bd63e46b0941b84a1ae2c9a063f2f720.patch";
hash = "sha256-MeRC3iJ5raKvl9udzv/44Vs34LxSzq1S6VVKAVFSpiY=";
})
];

build-system = [
poetry-core
];

dependencies = [
httplib2
icalendar
python-dateutil
pytz
urllib3
];

pythonRelaxDeps = [
"httplib2"
"icalendar"
"pytz"
nativeCheckInputs = [
pook
pytestCheckHook
];

nativeCheckInputs = [ pytestCheckHook ];

disabledTests = [
# Makes HTTP calls
"test_events_url"
Expand Down

0 comments on commit 51e4b3b

Please sign in to comment.