anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / ical / default.nix
blobe021c6574a85ebc421f5b2bfd6f6aa430915e121
2   lib,
3   buildPythonPackage,
4   emoji,
5   fetchFromGitHub,
6   freezegun,
7   tzdata,
8   pyparsing,
9   pydantic,
10   pytest-benchmark,
11   pytestCheckHook,
12   pythonOlder,
13   python-dateutil,
14   setuptools,
15   syrupy,
18 buildPythonPackage rec {
19   pname = "ical";
20   version = "8.2.0";
21   pyproject = true;
23   disabled = pythonOlder "3.10";
25   src = fetchFromGitHub {
26     owner = "allenporter";
27     repo = "ical";
28     rev = "refs/tags/${version}";
29     hash = "sha256-9mnyhDKcZTZAGRxojQN9I9ZAgBmsSSsBPzCMZO6Rl5k=";
30   };
32   build-system = [ setuptools ];
34   dependencies = [
35     python-dateutil
36     tzdata
37     pydantic
38     pyparsing
39   ];
41   nativeCheckInputs = [
42     emoji
43     freezegun
44     pytest-benchmark
45     pytestCheckHook
46     syrupy
47   ];
49   pythonImportsCheck = [ "ical" ];
51   meta = with lib; {
52     description = "Library for handling iCalendar";
53     homepage = "https://github.com/allenporter/ical";
54     changelog = "https://github.com/allenporter/ical/releases/tag/${version}";
55     license = licenses.asl20;
56     maintainers = with maintainers; [ dotlambda ];
57   };