3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.ical: init at 4.1.0

This commit is contained in:
Fabian Affolter 2022-11-04 01:22:55 +01:00
parent 5d4b963e94
commit b7ea5c90da
2 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,56 @@
{ lib
, python-dateutil
, buildPythonPackage
, fetchFromGitHub
, freezegun
, tzdata
, pyparsing
, pydantic
, pytest-asyncio
, pytest-benchmark
, pytest-golden
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "ical";
version = "4.1.0";
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "allenporter";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-pZtjGWmEVcHSCgiVTKoEaRvec02cz3x93W+UXx3J8gE=";
};
propagatedBuildInputs = [
python-dateutil
tzdata
pydantic
pyparsing
];
checkInputs = [
freezegun
pytest-asyncio
pytest-benchmark
pytest-golden
pytestCheckHook
];
pythonImportsCheck = [
"ical"
];
meta = with lib; {
description = "Library for handling iCalendar";
homepage = "https://github.com/allenporter/ical";
changelog = "https://github.com/allenporter/ical/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -4367,6 +4367,8 @@ self: super: with self; {
ibm-watson = callPackage ../development/python-modules/ibm-watson { };
ical = callPackage ../development/python-modules/ical { };
icalendar = callPackage ../development/python-modules/icalendar { };
icecream = callPackage ../development/python-modules/icecream { };