blob: c1677c364ce56ca06f4151fd946435fba58fb902 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
poetry-core,
icalendar,
pook,
python-dateutil,
pytz,
urllib3,
}:
buildPythonPackage rec {
pname = "icalevents";
version = "0.3.1";
pyproject = true;
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 = {
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 lib.maintainers; [ jamiemagee ];
license = lib.licenses.mit;
};
}
|