Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / gcal-sync / default.nix
blobb62a8867698b2c3acd429d89ef8cb9919ab93f0a
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , freezegun
6 , ical
7 , pydantic
8 , pytest-aiohttp
9 , pytest-asyncio
10 , pytestCheckHook
11 , pythonOlder
14 buildPythonPackage rec {
15   pname = "gcal-sync";
16   version = "5.0.0";
17   format = "setuptools";
19   disabled = pythonOlder "3.10";
21   src = fetchFromGitHub {
22     owner = "allenporter";
23     repo = "gcal_sync";
24     rev = "refs/tags/${version}";
25     hash = "sha256-vlPAAGY6h/nV9bNOUXharm1aeKfaL7ImzbvAPlpMV5k=";
26   };
28   propagatedBuildInputs = [
29     aiohttp
30     ical
31     pydantic
32   ];
34   __darwinAllowLocalNetworking = true;
36   nativeCheckInputs = [
37     freezegun
38     pytest-aiohttp
39     pytest-asyncio
40     pytestCheckHook
41   ];
43   pythonImportsCheck = [
44     "gcal_sync"
45   ];
47   meta = with lib; {
48     description = "Library for syncing Google Calendar to local storage";
49     homepage = "https://github.com/allenporter/gcal_sync";
50     changelog = "https://github.com/allenporter/gcal_sync/releases/tag/${version}";
51     license = licenses.asl20;
52     maintainers = with maintainers; [ dotlambda ];
53   };