forked from mirrors/nixpkgs
python310Packages.ical: init at 4.1.0
This commit is contained in:
parent
5d4b963e94
commit
b7ea5c90da
56
pkgs/development/python-modules/ical/default.nix
Normal file
56
pkgs/development/python-modules/ical/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue