c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
46 lines
877 B
Nix
46 lines
877 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchFromGitHub
|
|
, aiohttp
|
|
, pydantic
|
|
, freezegun
|
|
, pytest-aiohttp
|
|
, pytest-asyncio
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gcal-sync";
|
|
version = "1.1.0";
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "allenporter";
|
|
repo = "gcal_sync";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-IiBwqpglVC+M1NXSmidSEDjKcGn76aqPZclXK0vKsm8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
pydantic
|
|
];
|
|
|
|
checkInputs = [
|
|
freezegun
|
|
pytest-aiohttp
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "gcal_sync" ];
|
|
|
|
meta = {
|
|
description = "Python library for syncing Google Calendar to local storage";
|
|
homepage = "https://github.com/allenporter/gcal_sync";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|