Diff: https://github.com/allenporter/ical/compare/refs/tags/9.0.0...9.0.1 Changelog: https://github.com/allenporter/ical/releases/tag/9.0.1
59 lines
1.0 KiB
Nix
59 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
emoji,
|
|
fetchFromGitHub,
|
|
freezegun,
|
|
tzdata,
|
|
pyparsing,
|
|
pydantic,
|
|
pytest-benchmark,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
python-dateutil,
|
|
setuptools,
|
|
syrupy,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ical";
|
|
version = "9.0.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "allenporter";
|
|
repo = "ical";
|
|
tag = version;
|
|
hash = "sha256-VaFzN/Yzo0Ad1vsuZJ4P8+WWH+GtPJGOz3PWum8rLww=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
python-dateutil
|
|
tzdata
|
|
pydantic
|
|
pyparsing
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
emoji
|
|
freezegun
|
|
pytest-benchmark
|
|
pytestCheckHook
|
|
syrupy
|
|
];
|
|
|
|
pythonImportsCheck = [ "ical" ];
|
|
|
|
meta = {
|
|
description = "Library for handling iCalendar";
|
|
homepage = "https://github.com/allenporter/ical";
|
|
changelog = "https://github.com/allenporter/ical/releases/tag/${src.tag}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|