From b342a3d291eea516ccb8b5dec8034011f50ddfec Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 4 Nov 2022 01:24:57 +0100 Subject: [PATCH] python310Packages.gcal-sync: 2.1.0 -> 3.0.0 --- .../python-modules/gcal-sync/default.nix | 28 +++++++++++-------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/gcal-sync/default.nix b/pkgs/development/python-modules/gcal-sync/default.nix index 85b536b836db..e9afe6ef1b49 100644 --- a/pkgs/development/python-modules/gcal-sync/default.nix +++ b/pkgs/development/python-modules/gcal-sync/default.nix @@ -1,18 +1,20 @@ { lib -, buildPythonPackage -, pythonOlder -, fetchFromGitHub , aiohttp -, pydantic +, buildPythonPackage +, fetchFromGitHub , freezegun +, ical +, pydantic , pytest-aiohttp , pytest-asyncio , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "gcal-sync"; - version = "2.1.0"; + version = "3.0.0"; + format = "setuptools"; disabled = pythonOlder "3.9"; @@ -20,11 +22,12 @@ buildPythonPackage rec { owner = "allenporter"; repo = "gcal_sync"; rev = "refs/tags/${version}"; - hash = "sha256-FKrZPiN4rSk5iFhGAXVuKhEeekOnPxdFslP4SMUrQIE="; + hash = "sha256-xRmNV06gMdPPHcvgJTvxPZBUi1BbFTnwZpzXLBluBYo="; }; propagatedBuildInputs = [ aiohttp + ical pydantic ]; @@ -35,12 +38,15 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ "gcal_sync" ]; + pythonImportsCheck = [ + "gcal_sync" + ]; - meta = { - description = "Python library for syncing Google Calendar to local storage"; + meta = with lib; { + description = "Library for syncing Google Calendar to local storage"; homepage = "https://github.com/allenporter/gcal_sync"; - license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ dotlambda ]; + changelog = "https://github.com/allenporter/gcal_sync/releases/tag/${version}"; + license = licenses.asl20; + maintainers = with maintainers; [ dotlambda ]; }; }