2022-05-18 14:49:53 +00:00
|
|
|
{ lib
|
2022-11-04 12:27:35 +00:00
|
|
|
, aiohttp
|
2022-05-18 14:49:53 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, freezegun
|
2022-11-04 12:27:35 +00:00
|
|
|
, ical
|
|
|
|
, pydantic
|
2022-05-18 14:49:53 +00:00
|
|
|
, pytest-aiohttp
|
|
|
|
, pytest-asyncio
|
|
|
|
, pytestCheckHook
|
2022-11-04 12:27:35 +00:00
|
|
|
, pythonOlder
|
2022-05-18 14:49:53 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gcal-sync";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "4.2.0";
|
2022-11-04 12:27:35 +00:00
|
|
|
format = "setuptools";
|
2022-05-18 14:49:53 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "allenporter";
|
|
|
|
repo = "gcal_sync";
|
2022-06-16 17:23:12 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-Z5XRyhObREj38BWnexQnwHS1y2Ewyv5/KPkl/ybHvUE=";
|
2022-05-18 14:49:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
2022-11-04 12:27:35 +00:00
|
|
|
ical
|
2022-05-18 14:49:53 +00:00
|
|
|
pydantic
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-05-18 14:49:53 +00:00
|
|
|
freezegun
|
|
|
|
pytest-aiohttp
|
|
|
|
pytest-asyncio
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2022-11-04 12:27:35 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"gcal_sync"
|
|
|
|
];
|
2022-05-18 14:49:53 +00:00
|
|
|
|
2022-11-04 12:27:35 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Library for syncing Google Calendar to local storage";
|
2022-05-18 14:49:53 +00:00
|
|
|
homepage = "https://github.com/allenporter/gcal_sync";
|
2022-11-04 12:27:35 +00:00
|
|
|
changelog = "https://github.com/allenporter/gcal_sync/releases/tag/${version}";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
2022-05-18 14:49:53 +00:00
|
|
|
};
|
|
|
|
}
|