at 25.11-pre 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 emoji, 5 fetchFromGitHub, 6 freezegun, 7 tzdata, 8 pyparsing, 9 pydantic, 10 pytest-benchmark, 11 pytestCheckHook, 12 pythonOlder, 13 python-dateutil, 14 setuptools, 15 syrupy, 16}: 17 18buildPythonPackage rec { 19 pname = "ical"; 20 version = "9.2.2"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.11"; 24 25 src = fetchFromGitHub { 26 owner = "allenporter"; 27 repo = "ical"; 28 tag = version; 29 hash = "sha256-eh8XOKn7Xo4JprMwVVdsBWdXajn2URYVR5tz2y2wKrg="; 30 }; 31 32 build-system = [ setuptools ]; 33 34 dependencies = [ 35 python-dateutil 36 tzdata 37 pydantic 38 pyparsing 39 ]; 40 41 nativeCheckInputs = [ 42 emoji 43 freezegun 44 pytest-benchmark 45 pytestCheckHook 46 syrupy 47 ]; 48 49 pythonImportsCheck = [ "ical" ]; 50 51 meta = { 52 description = "Library for handling iCalendar"; 53 homepage = "https://github.com/allenporter/ical"; 54 changelog = "https://github.com/allenporter/ical/releases/tag/${src.tag}"; 55 license = lib.licenses.asl20; 56 maintainers = with lib.maintainers; [ dotlambda ]; 57 }; 58}