Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / ical / default.nix
blob7807d5d7b2798304a9158adc3fda5c919c930b99
1 { lib
2 , buildPythonPackage
3 , emoji
4 , fetchFromGitHub
5 , freezegun
6 , tzdata
7 , pyparsing
8 , pydantic
9 , pytest-benchmark
10 , pytestCheckHook
11 , pythonOlder
12 , python-dateutil
13 , setuptools
14 , syrupy
17 buildPythonPackage rec {
18   pname = "ical";
19   version = "8.0.0";
20   pyproject = true;
22   disabled = pythonOlder "3.10";
24   src = fetchFromGitHub {
25     owner = "allenporter";
26     repo = "ical";
27     rev = "refs/tags/${version}";
28     hash = "sha256-nwF6iInQzHdOtmcC1fi6CS2LnYRCxc/DS9bg8IxTlFg=";
29   };
31   build-system = [
32     setuptools
33   ];
35   dependencies = [
36     python-dateutil
37     tzdata
38     pydantic
39     pyparsing
40   ];
42   nativeCheckInputs = [
43     emoji
44     freezegun
45     pytest-benchmark
46     pytestCheckHook
47     syrupy
48   ];
50   pythonImportsCheck = [
51     "ical"
52   ];
54   meta = with lib; {
55     description = "Library for handling iCalendar";
56     homepage = "https://github.com/allenporter/ical";
57     changelog = "https://github.com/allenporter/ical/releases/tag/${version}";
58     license = licenses.asl20;
59     maintainers = with maintainers; [ dotlambda ];
60   };