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