Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768{ lib, aiohttp, buildPythonPackage, emoji, fetchFromGitHub, freezegun, tzdata, pdoc, pydantic, pytest-aiohttp, pytest-benchmark, pytestCheckHook, python-dateutil, setuptools, syrupy,}:
buildPythonPackage (finalAttrs: { pname = "ical"; version = "14.3.1"; pyproject = true;
src = fetchFromGitHub { owner = "allenporter"; repo = "ical"; tag = finalAttrs.version; hash = "sha256-PqFeb+dPKC3BhHHREjME9PRVz6fU4W3EFok90Z8ETWU="; };
build-system = [ setuptools ];
dependencies = [ python-dateutil tzdata pydantic ];
optional-dependencies = { async = [ aiohttp ]; };
nativeCheckInputs = [ emoji freezegun pdoc pytest-aiohttp pytest-benchmark pytestCheckHook syrupy ] ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
pytestFlags = [ "--benchmark-disable" ];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "ical" ];
meta = { description = "Library for handling iCalendar"; homepage = "https://github.com/allenporter/ical"; changelog = "https://github.com/allenporter/ical/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dotlambda ]; };})