python3Packages.icalendar-searcher: init at 1.0.3
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
icalendar,
|
||||
lib,
|
||||
poetry-core,
|
||||
poetry-dynamic-versioning,
|
||||
pyicu,
|
||||
pytestCheckHook,
|
||||
recurring-ical-events,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "icalendar-searcher";
|
||||
version = "1.0.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "python-caldav";
|
||||
repo = "icalendar-searcher";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-RwWm41+7AyoqwVGBaa+50ljUILJG5kCD4LMsULWjVEM=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
poetry-dynamic-versioning
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
icalendar
|
||||
recurring-ical-events
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
collation = [ pyicu ];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "icalendar_searcher" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
]
|
||||
++ lib.concatAttrValues optional-dependencies;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/python-caldav/icalendar-searcher/blob/${src.tag}/CHANGELOG.md";
|
||||
description = "Search, filter and sort iCalendar components";
|
||||
homepage = "https://github.com/python-caldav/icalendar-searcher";
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = [ lib.maintainers.dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -7093,6 +7093,8 @@ self: super: with self; {
|
||||
|
||||
icalendar-compatibility = callPackage ../development/python-modules/icalendar-compatibility { };
|
||||
|
||||
icalendar-searcher = callPackage ../development/python-modules/icalendar-searcher { };
|
||||
|
||||
icalevents = callPackage ../development/python-modules/icalevents { };
|
||||
|
||||
icdiff = callPackage ../development/python-modules/icdiff { };
|
||||
|
||||
Reference in New Issue
Block a user