Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ buildPythonPackage, fetchFromGitHub, hatch-vcs, hatchling, lib, keyring, pytestCheckHook, pyyaml,}:
buildPythonPackage (finalAttrs: { pname = "calendaring-config"; version = "0.5.0"; pyproject = true;
src = fetchFromGitHub { owner = "pycalendar"; repo = "calendaring-config"; tag = "v${finalAttrs.version}"; hash = "sha256-ZGMqkgJ5K5OYdGf7AsNP3tPjFS4JbruNlFlPvjvNrRI="; };
build-system = [ hatch-vcs hatchling ];
dependencies = [ pyyaml ];
optional-dependencies = { keyring = [ keyring ]; };
pythonImportsCheck = [ "calendaring_config" ];
nativeCheckInputs = [ pytestCheckHook ] ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
meta = { changelog = "https://github.com/PyCalendar/calendaring-config/blob/${finalAttrs.src.tag}/docs/changelog.rst"; description = "Shared configuration file of caldav, calendaring and calendaring-jmap: format, discovery and credentials"; homepage = "https://github.com/pycalendar/calendaring-config"; license = with lib.licenses; OR [ asl20 gpl3Plus ]; maintainers = [ lib.maintainers.dotlambda ]; };})